Interface PermissionAndRoleResolver

All Known Implementing Classes:
DefaultPermissionAndRoleResolver

public interface PermissionAndRoleResolver
Resolves a principal to specific permissions based on grants.
  • Method Details

    • resolvePermissionsForPrincipal

      Set<org.apache.shiro.authz.Permission> resolvePermissionsForPrincipal(GRN principal)
      Returns resolved permissions for the given principal.
      Parameters:
      principal - the principal
      Returns:
      the resolved permissions
    • resolveRolesForPrincipal

      Set<String> resolveRolesForPrincipal(GRN principal)
      Returns roles for the given principal.
      Parameters:
      principal - the principal
      Returns:
      the resolved roleIds
    • resolveGrantees

      Set<GRN> resolveGrantees(GRN principal)