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
Modifier and TypeFieldDescriptionstatic final AdminPermissionsSchema
static final ResourceType
static final String
-
Method Summary
Modifier and TypeMethodDescriptiongetOrCreateResource
(KeycloakSession session, ResourceServer resourceServer, String type, String id) getScope
(KeycloakSession session, ResourceServer resourceServer, String resourceType, String id) boolean
isSupportedPolicyType
(KeycloakSession session, ResourceServer resourceServer, String type) void
throwExceptionIfAdminPermissionClient
(KeycloakSession session, String id) void
throwExceptionIfResourceTypeOrScopesNotProvided
(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)
-