Package org.apache.polaris.service.auth
Interface ActiveRolesProvider
- All Known Implementing Classes:
DefaultActiveRolesProvider
public interface ActiveRolesProvider
Provides the active roles for a given principal. Implementations may rely on the active request
or SecurityContext to determine the active roles.
-
Method Summary
Modifier and TypeMethodDescriptiongetActiveRoles(org.apache.polaris.core.auth.AuthenticatedPolarisPrincipal principal) Returns the active roles for the given principal.
-
Method Details
-
getActiveRoles
Returns the active roles for the given principal.- Parameters:
principal- the currently authenticated principal- Returns:
- the active roles
-