Package org.keycloak.authorization
Class AdminPermissionsSchema
java.lang.Object
org.keycloak.representations.idm.authorization.AuthorizationSchema
org.keycloak.authorization.AdminPermissionsSchema
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.representations.idm.authorization.AuthorizationSchema
AuthorizationSchema.ResourceTypeDeserializer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AdminPermissionsSchemastatic final ResourceTypestatic final String -
Method Summary
Modifier and TypeMethodDescriptiongetOrCreateResource(KeycloakSession session, ResourceServer resourceServer, String type, String id) getScope(KeycloakSession session, ResourceServer resourceServer, String resourceType, String id) booleanisSupportedPolicyType(KeycloakSession session, ResourceServer resourceServer, String type) voidthrowExceptionIfAdminPermissionClient(KeycloakSession session, String id) voidthrowExceptionIfResourceTypeOrScopesNotProvided(KeycloakSession session, ResourceServer resourceServer, AbstractPolicyRepresentation rep) Methods inherited from class org.keycloak.representations.idm.authorization.AuthorizationSchema
getResourceTypes
-
Field Details
-
USERS_RESOURCE_TYPE
- See Also:
-
USERS
-
SCHEMA
-
-
Method Details
-
getOrCreateResource
public Resource getOrCreateResource(KeycloakSession session, ResourceServer resourceServer, String type, String id) -
isSupportedPolicyType
public boolean isSupportedPolicyType(KeycloakSession session, ResourceServer resourceServer, String type) -
throwExceptionIfAdminPermissionClient
-
throwExceptionIfResourceTypeOrScopesNotProvided
public void throwExceptionIfResourceTypeOrScopesNotProvided(KeycloakSession session, ResourceServer resourceServer, AbstractPolicyRepresentation rep) -
getScope
public Scope getScope(KeycloakSession session, ResourceServer resourceServer, String resourceType, String id)
-