Package org.keycloak.authorization.admin
Class PermissionService
java.lang.Object
org.keycloak.authorization.admin.PolicyService
org.keycloak.authorization.admin.PermissionService
- Author:
- Pedro Igor
-
Field Summary
Fields inherited from class org.keycloak.authorization.admin.PolicyService
adminEvent, auth, authorization, resourceServer
-
Constructor Summary
ConstructorDescriptionPermissionService
(ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) -
Method Summary
Modifier and TypeMethodDescriptionprotected PolicyResourceService
doCreatePolicyResource
(Policy policy) protected PolicyTypeService
doSearch
(Integer firstResult, Integer maxResult, String fields, Map<Policy.FilterOption, String[]> filters) protected AbstractPolicyRepresentation
toRepresentation
(Policy policy, String fields, AuthorizationProvider authorization) Methods inherited from class org.keycloak.authorization.admin.PolicyService
create, create, doCreateRepresentation, findAll, findByName, findPolicyProviders, getPolicyEvaluateResource, getPolicyProviderAdminResource, getPolicyProviderFactory, getResource
-
Constructor Details
-
PermissionService
public PermissionService(ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
-
Method Details
-
doCreatePolicyResource
- Overrides:
doCreatePolicyResource
in classPolicyService
-
doCreatePolicyTypeResource
- Overrides:
doCreatePolicyTypeResource
in classPolicyService
-
doSearch
protected List<Object> doSearch(Integer firstResult, Integer maxResult, String fields, Map<Policy.FilterOption, String[]> filters) - Overrides:
doSearch
in classPolicyService
-
toRepresentation
protected AbstractPolicyRepresentation toRepresentation(Policy policy, String fields, AuthorizationProvider authorization) - Overrides:
toRepresentation
in classPolicyService
-