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 Type
    Method
    Description
    getActiveRoles(org.apache.polaris.core.auth.AuthenticatedPolarisPrincipal principal)
    Returns the active roles for the given principal.
  • Method Details

    • getActiveRoles

      Set<String> getActiveRoles(org.apache.polaris.core.auth.AuthenticatedPolarisPrincipal principal)
      Returns the active roles for the given principal.
      Parameters:
      principal - the currently authenticated principal
      Returns:
      the active roles