Uses of Class
org.keycloak.authorization.permission.ResourcePermission
-
Packages that use ResourcePermission Package Description org.keycloak.authorization Fine-grained Authorization SPI.org.keycloak.authorization.admin org.keycloak.authorization.permission org.keycloak.authorization.permission.evaluator org.keycloak.authorization.policy.evaluation Provides classes related with the evaluation of policies. -
-
Uses of ResourcePermission in org.keycloak.authorization
Methods in org.keycloak.authorization with parameters of type ResourcePermission Modifier and Type Method Description default void
Decision. onComplete(ResourcePermission permission)
-
Uses of ResourcePermission in org.keycloak.authorization.admin
Methods in org.keycloak.authorization.admin with parameters of type ResourcePermission Modifier and Type Method Description protected void
PolicyEvaluationService.EvaluationDecisionCollector. grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)
-
Uses of ResourcePermission in org.keycloak.authorization.permission
Methods in org.keycloak.authorization.permission that return ResourcePermission Modifier and Type Method Description static ResourcePermission
Permissions. createResourcePermissions(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request)
static ResourcePermission
Permissions. permission(ResourceServer server, Resource resource, Scope scope)
Method parameters in org.keycloak.authorization.permission with type arguments of type ResourcePermission Modifier and Type Method Description static void
Permissions. all(ResourceServer resourceServer, Identity identity, AuthorizationProvider authorization, AuthorizationRequest request, Consumer<ResourcePermission> evaluator)
Returns a list of permissions for all resources and scopes that belong to the givenresourceServer
andidentity
. -
Uses of ResourcePermission in org.keycloak.authorization.permission.evaluator
Method parameters in org.keycloak.authorization.permission.evaluator with type arguments of type ResourcePermission Modifier and Type Method Description PermissionEvaluator
Evaluators. from(Collection<ResourcePermission> permissions, EvaluationContext evaluationContext)
-
Uses of ResourcePermission in org.keycloak.authorization.policy.evaluation
Fields in org.keycloak.authorization.policy.evaluation with type parameters of type ResourcePermission Modifier and Type Field Description protected Map<ResourcePermission,Result>
AbstractDecisionCollector. results
Methods in org.keycloak.authorization.policy.evaluation that return ResourcePermission Modifier and Type Method Description ResourcePermission
DefaultEvaluation. getPermission()
ResourcePermission
Evaluation. getPermission()
Returns theResourcePermission
to be evaluated.ResourcePermission
Result. getPermission()
Methods in org.keycloak.authorization.policy.evaluation with parameters of type ResourcePermission Modifier and Type Method Description void
DefaultPolicyEvaluator. evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
void
PolicyEvaluator. evaluate(ResourcePermission permission, AuthorizationProvider authorizationProvider, EvaluationContext executionContext, Decision decision, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
Starts the evaluation of the configured authorization policies.protected void
DecisionPermissionCollector. grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)
void
AbstractDecisionCollector. onComplete(ResourcePermission permission)
Constructors in org.keycloak.authorization.policy.evaluation with parameters of type ResourcePermission Constructor Description DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Decision decision, AuthorizationProvider authorizationProvider)
DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
DefaultEvaluation(ResourcePermission permission, EvaluationContext executionContext, Policy parentPolicy, Policy policy, Decision decision, AuthorizationProvider authorizationProvider, Map<Policy,Map<Object,Decision.Effect>> decisionCache)
Result(ResourcePermission permission, Evaluation evaluation)
-