use of org.keycloak.authorization.policy.evaluation.DecisionPermissionCollector in project keycloak by keycloak.
the class UnboundedPermissionEvaluator method evaluate.
@Override
public Collection<Permission> evaluate(ResourceServer resourceServer, AuthorizationRequest request) {
DecisionPermissionCollector decision = new DecisionPermissionCollector(authorizationProvider, resourceServer, request);
evaluate(decision);
return decision.results();
}
use of org.keycloak.authorization.policy.evaluation.DecisionPermissionCollector in project keycloak by keycloak.
the class IterablePermissionEvaluator method evaluate.
@Override
public Collection<Permission> evaluate(ResourceServer resourceServer, AuthorizationRequest request) {
DecisionPermissionCollector decision = new DecisionPermissionCollector(authorizationProvider, resourceServer, request);
evaluate(decision);
return decision.results();
}
Aggregations