Uses of Class
org.keycloak.authorization.permission.ResourcePermission
Package
Description
Fine-grained Authorization SPI.
Provides classes related with the evaluation of policies.
-
Uses of ResourcePermission in org.keycloak.authorization
Modifier and TypeMethodDescriptiondefault void
Decision.onComplete
(ResourcePermission permission) -
Uses of ResourcePermission in org.keycloak.authorization.admin
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionstatic ResourcePermission
Permissions.createResourcePermissions
(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request) static ResourcePermission
Permissions.permission
(ResourceServer server, Resource resource, Scope scope) Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionEvaluators.from
(Collection<ResourcePermission> permissions, EvaluationContext evaluationContext) -
Uses of ResourcePermission in org.keycloak.authorization.policy.evaluation
Modifier and TypeFieldDescriptionprotected final Map<ResourcePermission,
Result> AbstractDecisionCollector.results
Modifier and TypeMethodDescriptionDefaultEvaluation.getPermission()
Evaluation.getPermission()
Returns theResourcePermission
to be evaluated.Result.getPermission()
Modifier and TypeMethodDescriptionvoid
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) ModifierConstructorDescriptionDefaultEvaluation
(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)