Uses of Interface
org.keycloak.authorization.model.ResourceServer
Package
Description
Provides the domain model and any other type related with it
Provides classes related with the evaluation of policies.
Provides classes and a SPI to plug different policy providers.
Provides classes and a SPI to plug different metadata storage implementations.
-
Uses of ResourceServer in org.keycloak.authorization.admin
Modifier and TypeFieldDescriptionprotected final ResourceServer
PolicyResourceService.resourceServer
protected final ResourceServer
PolicyService.resourceServer
Modifier and TypeMethodDescriptionprotected void
PolicyEvaluationService.EvaluationDecisionCollector.grantPermission
(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) ModifierConstructorDescriptionEvaluationDecisionCollector
(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request) PermissionService
(ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) PolicyResourceService
(Policy policy, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) PolicyService
(ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) PolicyTypeResourceService
(Policy policy, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) PolicyTypeService
(String type, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ResourceServerService
(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ResourceSetService
(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) ScopeService
(KeycloakSession session, ResourceServer resourceServer, AuthorizationProvider authorization, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent) -
Uses of ResourceServer in org.keycloak.authorization.admin.representation
Modifier and TypeMethodDescriptionstatic PolicyEvaluationResponse
PolicyEvaluationResponseBuilder.build
(PolicyEvaluationService.EvaluationDecisionCollector decision, ResourceServer resourceServer, AuthorizationProvider authorization, KeycloakIdentity identity) -
Uses of ResourceServer in org.keycloak.authorization.jpa.store
Modifier and TypeMethodDescriptionJPAResourceServerStore.create
(ClientModel client) JPAResourceServerStore.findByClient
(ClientModel client) JPAResourceServerStore.findById
(RealmModel realm, String id) PermissionTicketAdapter.getResourceServer()
PolicyAdapter.getResourceServer()
ResourceAdapter.getResourceServer()
ScopeAdapter.getResourceServer()
Modifier and TypeMethodDescriptionlong
JPAPermissionTicketStore.count
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes) JPAPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) JPAPolicyStore.create
(ResourceServer resourceServer, AbstractPolicyRepresentation representation) JPAResourceStore.create
(ResourceServer resourceServer, String id, String name, String owner) JPAScopeStore.create
(ResourceServer resourceServer, String name) JPAScopeStore.create
(ResourceServer resourceServer, String id, String name) JPAPermissionTicketStore.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) JPAPolicyStore.find
(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) JPAResourceStore.find
(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) JPAPermissionTicketStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) JPAPolicyStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) JPAResourceStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) JPAScopeStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) JPAPolicyStore.findByName
(ResourceServer resourceServer, String name) JPAResourceStore.findByName
(ResourceServer resourceServer, String name, String ownerId) JPAScopeStore.findByName
(ResourceServer resourceServer, String name) void
JPAResourceStore.findByOwner
(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer) JPAPermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) void
JPAPolicyStore.findByResource
(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer) JPAPolicyStore.findByResourceServer
(ResourceServer resourceServer) JPAResourceStore.findByResourceServer
(ResourceServer resourceServer) JPAScopeStore.findByResourceServer
(ResourceServer resourceServer) JPAScopeStore.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) void
JPAPolicyStore.findByResourceType
(ResourceServer resourceServer, String resourceType, Consumer<Policy> consumer) JPAPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) JPAPolicyStore.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) void
JPAPolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) void
JPAResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) JPAPolicyStore.findByType
(ResourceServer resourceServer, String type) void
JPAResourceStore.findByType
(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer) void
JPAResourceStore.findByType
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) void
JPAResourceStore.findByTypeInstance
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) JPAPolicyStore.findDependentPolicies
(ResourceServer resourceServer, String policyId) JPAPermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) JPAPermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) static ResourceServerEntity
ResourceServerAdapter.toEntity
(jakarta.persistence.EntityManager em, ResourceServer resource) -
Uses of ResourceServer in org.keycloak.authorization.model
Modifier and TypeFieldDescriptionstatic final SearchableModelField<ResourceServer>
ResourceServer.SearchableFields.CLIENT_ID
ID of the client (not the clientId) associated with resource serverstatic final SearchableModelField<ResourceServer>
ResourceServer.SearchableFields.ID
static final SearchableModelField<ResourceServer>
ResourceServer.SearchableFields.REALM_ID
Modifier and TypeMethodDescriptionPermissionTicket.getResourceServer()
Returns theResourceServer
where this policy belongs to.Policy.getResourceServer()
Returns theResourceServer
where this policy belongs to.Resource.getResourceServer()
Returns theResourceServer
to where this resource belongs to.Scope.getResourceServer()
Returns theResourceServer
instance to where this scope belongs to. -
Uses of ResourceServer in org.keycloak.authorization.permission
Modifier and TypeMethodDescriptionResourcePermission.getResourceServer()
Returns the resource server associated with this permission.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
.static ResourcePermission
Permissions.createResourcePermissions
(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request) static ResourcePermission
Permissions.permission
(ResourceServer server, Resource resource, Scope scope) Permissions.resolveScopes
(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization) ModifierConstructorDescriptionResourcePermission
(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer) ResourcePermission
(Resource resource, Collection<Scope> scopes, ResourceServer resourceServer, Map<String, ? extends Collection<String>> claims) ResourcePermission
(Resource resource, ResourceServer resourceServer, Map<String, ? extends Collection<String>> claims) -
Uses of ResourceServer in org.keycloak.authorization.permission.evaluator
Modifier and TypeMethodDescriptionPermissionEvaluator.evaluate
(ResourceServer resourceServer, AuthorizationRequest request) UnboundedPermissionEvaluator.evaluate
(ResourceServer resourceServer, AuthorizationRequest request) Evaluators.from
(EvaluationContext evaluationContext, ResourceServer resourceServer, AuthorizationRequest request) -
Uses of ResourceServer in org.keycloak.authorization.policy.evaluation
Modifier and TypeMethodDescriptionprotected void
DecisionPermissionCollector.grantPermission
(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result) ModifierConstructorDescriptionDecisionPermissionCollector
(AuthorizationProvider authorizationProvider, ResourceServer resourceServer, AuthorizationRequest request) PermissionTicketAwareDecisionResultCollector
(AuthorizationRequest request, PermissionTicketToken ticket, Identity identity, ResourceServer resourceServer, AuthorizationProvider authorization) -
Uses of ResourceServer in org.keycloak.authorization.policy.provider
Modifier and TypeMethodDescriptiondefault PolicyProviderAdminService
PolicyProviderFactory.getAdminResource
(ResourceServer resourceServer, AuthorizationProvider authorization) -
Uses of ResourceServer in org.keycloak.authorization.protection.permission
ModifierConstructorDescriptionAbstractPermissionService
(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization) PermissionService
(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization) PermissionTicketService
(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization) -
Uses of ResourceServer in org.keycloak.authorization.protection.policy
ModifierConstructorDescriptionUserManagedPermissionService
(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization, AdminEventBuilder eventBuilder) -
Uses of ResourceServer in org.keycloak.authorization.protection.resource
ModifierConstructorDescriptionResourceService
(KeycloakSession session, ResourceServer resourceServer, Identity identity, ResourceSetService resourceManager) -
Uses of ResourceServer in org.keycloak.authorization.store
Modifier and TypeMethodDescriptionResourceServerStore.create
(ClientModel client) Creates aResourceServer
instance backed by this persistent storage implementation.ResourceServerStore.findByClient
(ClientModel client) Returns aResourceServer
instance based on a client.ResourceServerStore.findById
(RealmModel realm, String id) Returns aResourceServer
instance based on its identifier.Modifier and TypeMethodDescriptionlong
PermissionTicketStore.count
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes) Returns count ofPermissionTicket
, filtered by the given attributes.PermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) Creates a newPermissionTicket
instance.PolicyStore.create
(ResourceServer resourceServer, AbstractPolicyRepresentation representation) Creates a newPolicy
instance.default Resource
ResourceStore.create
(ResourceServer resourceServer, String name, String owner) Creates aResource
instance backed by this persistent storage implementation.ResourceStore.create
(ResourceServer resourceServer, String id, String name, String owner) Creates aResource
instance backed by this persistent storage implementation.default Scope
ScopeStore.create
(ResourceServer resourceServer, String name) Creates a newScope
instance.ScopeStore.create
(ResourceServer resourceServer, String id, String name) Creates a newScope
instance.PermissionTicketStore.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResults) Returns a list ofPermissionTicket
, filtered by the given attributes.PolicyStore.find
(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) ResourceStore.find
(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) Finds allResource
instances associated with a given resource server.PermissionTicketStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Returns aPermissionTicket
with the givenid
PolicyStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Returns aPolicy
with the givenid
ResourceStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Returns aResource
instance based on its identifier.ScopeStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) Returns aScope
with the givenid
PolicyStore.findByName
(ResourceServer resourceServer, String name) Returns aPolicy
with the givenname
default Resource
ResourceStore.findByName
(ResourceServer resourceServer, String name) Find aResource
by its name where the owner is the resource server itself.ResourceStore.findByName
(ResourceServer resourceServer, String name, String ownerId) Find aResource
by its name where the owner is the givenownerId
.ScopeStore.findByName
(ResourceServer resourceServer, String name) Returns aScope
with the givenname
ResourceStore.findByOwner
(RealmModel realm, ResourceServer resourceServer, String ownerId) Finds allResource
instances with the givenownerId
.void
ResourceStore.findByOwner
(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer) PermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) Returns a list ofPermissionTicket
associated with theresource
.PolicyStore.findByResource
(ResourceServer resourceServer, Resource resource) void
PolicyStore.findByResource
(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer) Searches for all policies associated with theResource
and passes the result to theconsumer
PolicyStore.findByResourceServer
(ResourceServer resourceServer) Returns a list ofPolicy
associated with theResourceServer
ResourceStore.findByResourceServer
(ResourceServer resourceServer) Finds allResource
instances associated with a given resource server.ScopeStore.findByResourceServer
(ResourceServer resourceServer) Returns a list ofScope
associated with theResourceServer
.ScopeStore.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) PolicyStore.findByResourceType
(ResourceServer resourceServer, String resourceType) void
PolicyStore.findByResourceType
(ResourceServer resourceServer, String type, Consumer<Policy> policyConsumer) Searches for policies associated with aResourceServer
and passes the result to the consumerPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) Returns a list ofPermissionTicket
associated with thescope
.PolicyStore.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) PolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes) void
PolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) Effectively the same method asPolicyStore.findByScopes(ResourceServer, Resource, List)
, however in the end theconsumer
is fed with the result.ResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes) Finds allResource
associated with a given scope.void
ResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) PolicyStore.findByType
(ResourceServer resourceServer, String type) Returns a list ofPolicy
with the giventype
.ResourceStore.findByType
(ResourceServer resourceServer, String type) Finds allResource
fromResourceServer
with the given type.void
ResourceStore.findByType
(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer) Finds allResource
with the given type.void
ResourceStore.findByType
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) Finds allResource
fromResourceServer
with the given type.void
ResourceStore.findByTypeInstance
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) Finds allResource
by type where client represented by theresourceServer
is not the ownerPolicyStore.findDependentPolicies
(ResourceServer resourceServer, String id) Returns a list ofPolicy
that depends on another policy with the givenid
.PermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) Returns a list ofPermissionTicket
granted to the givenuserId
.PermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) -
Uses of ResourceServer in org.keycloak.models.cache.infinispan.authorization
Modifier and TypeMethodDescriptionStoreFactoryCacheSession.ResourceServerCache.create
(ClientModel client) StoreFactoryCacheSession.ResourceServerCache.findByClient
(ClientModel client) StoreFactoryCacheSession.ResourceServerCache.findById
(RealmModel realm, String id) ResourceServerAdapter.getDelegateForUpdate()
PermissionTicketAdapter.getResourceServer()
PolicyAdapter.getResourceServer()
ResourceAdapter.getResourceServer()
ScopeAdapter.getResourceServer()
Modifier and TypeMethodDescriptionlong
StoreFactoryCacheSession.PermissionTicketCache.count
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes) StoreFactoryCacheSession.PermissionTicketCache.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) StoreFactoryCacheSession.PolicyCache.create
(ResourceServer resourceServer, AbstractPolicyRepresentation representation) StoreFactoryCacheSession.ResourceCache.create
(ResourceServer resourceServer, String id, String name, String owner) StoreFactoryCacheSession.ScopeCache.create
(ResourceServer resourceServer, String name) StoreFactoryCacheSession.ScopeCache.create
(ResourceServer resourceServer, String id, String name) StoreFactoryCacheSession.PermissionTicketCache.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) StoreFactoryCacheSession.PolicyCache.find
(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) StoreFactoryCacheSession.ResourceCache.find
(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) StoreFactoryCacheSession.PermissionTicketCache.findById
(RealmModel realm, ResourceServer resourceServer, String id) StoreFactoryCacheSession.PolicyCache.findById
(RealmModel realm, ResourceServer resourceServer, String id) StoreFactoryCacheSession.ResourceCache.findById
(RealmModel realm, ResourceServer resourceServer, String id) StoreFactoryCacheSession.ScopeCache.findById
(RealmModel realm, ResourceServer resourceServer, String id) StoreFactoryCacheSession.PolicyCache.findByName
(ResourceServer resourceServer, String name) StoreFactoryCacheSession.ResourceCache.findByName
(ResourceServer resourceServer, String name, String ownerId) StoreFactoryCacheSession.ScopeCache.findByName
(ResourceServer resourceServer, String name) StoreFactoryCacheSession.ResourceCache.findByOwner
(RealmModel realm, ResourceServer resourceServer, String ownerId) void
StoreFactoryCacheSession.ResourceCache.findByOwner
(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer) StoreFactoryCacheSession.PermissionTicketCache.findByResource
(ResourceServer resourceServer, Resource resource) StoreFactoryCacheSession.PolicyCache.findByResource
(ResourceServer resourceServer, Resource resource) void
StoreFactoryCacheSession.PolicyCache.findByResource
(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer) StoreFactoryCacheSession.PolicyCache.findByResourceServer
(ResourceServer resourceServer) StoreFactoryCacheSession.ResourceCache.findByResourceServer
(ResourceServer resourceServer) StoreFactoryCacheSession.ScopeCache.findByResourceServer
(ResourceServer resourceServer) StoreFactoryCacheSession.ScopeCache.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) StoreFactoryCacheSession.PolicyCache.findByResourceType
(ResourceServer resourceServer, String resourceType) void
StoreFactoryCacheSession.PolicyCache.findByResourceType
(ResourceServer resourceServer, String resourceType, Consumer<Policy> consumer) StoreFactoryCacheSession.PermissionTicketCache.findByScope
(ResourceServer resourceServer, Scope scope) StoreFactoryCacheSession.PolicyCache.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) StoreFactoryCacheSession.PolicyCache.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes) void
StoreFactoryCacheSession.PolicyCache.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) StoreFactoryCacheSession.ResourceCache.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes) void
StoreFactoryCacheSession.ResourceCache.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) StoreFactoryCacheSession.PolicyCache.findByType
(ResourceServer resourceServer, String type) StoreFactoryCacheSession.ResourceCache.findByType
(ResourceServer resourceServer, String type) void
StoreFactoryCacheSession.ResourceCache.findByType
(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer) void
StoreFactoryCacheSession.ResourceCache.findByType
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) void
StoreFactoryCacheSession.ResourceCache.findByTypeInstance
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) StoreFactoryCacheSession.PolicyCache.findDependentPolicies
(ResourceServer resourceServer, String id) StoreFactoryCacheSession.PermissionTicketCache.findGranted
(ResourceServer resourceServer, String userId) StoreFactoryCacheSession.PermissionTicketCache.findGranted
(ResourceServer resourceServer, String resourceName, String userId) -
Uses of ResourceServer in org.keycloak.models.cache.infinispan.authorization.entities
-
Uses of ResourceServer in org.keycloak.models.map.authorization
Modifier and TypeMethodDescriptionMapResourceServerStore.create
(ClientModel client) MapResourceServerStore.findByClient
(ClientModel client) MapResourceServerStore.findById
(RealmModel realm, String id) Modifier and TypeMethodDescriptionlong
MapPermissionTicketStore.count
(ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes) MapPermissionTicketStore.create
(ResourceServer resourceServer, Resource resource, Scope scope, String requester) MapPolicyStore.create
(ResourceServer resourceServer, AbstractPolicyRepresentation representation) MapResourceStore.create
(ResourceServer resourceServer, String id, String name, String owner) MapScopeStore.create
(ResourceServer resourceServer, String id, String name) MapPermissionTicketStore.find
(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption, String> attributes, Integer firstResult, Integer maxResult) MapPolicyStore.find
(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) MapResourceStore.find
(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) MapPermissionTicketStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) MapPolicyStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) MapResourceStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) MapScopeStore.findById
(RealmModel realm, ResourceServer resourceServer, String id) MapPolicyStore.findByName
(ResourceServer resourceServer, String name) MapResourceStore.findByName
(ResourceServer resourceServer, String name, String ownerId) MapScopeStore.findByName
(ResourceServer resourceServer, String name) void
MapResourceStore.findByOwner
(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer) MapPermissionTicketStore.findByResource
(ResourceServer resourceServer, Resource resource) void
MapPolicyStore.findByResource
(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer) MapPolicyStore.findByResourceServer
(ResourceServer resourceServer) MapResourceStore.findByResourceServer
(ResourceServer resourceServer) MapScopeStore.findByResourceServer
(ResourceServer resourceServer) MapScopeStore.findByResourceServer
(ResourceServer resourceServer, Map<Scope.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) void
MapPolicyStore.findByResourceType
(ResourceServer resourceServer, String type, Consumer<Policy> policyConsumer) MapPermissionTicketStore.findByScope
(ResourceServer resourceServer, Scope scope) MapPolicyStore.findByScopes
(ResourceServer resourceServer, List<Scope> scopes) void
MapPolicyStore.findByScopes
(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer) void
MapResourceStore.findByScopes
(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) MapPolicyStore.findByType
(ResourceServer resourceServer, String type) void
MapResourceStore.findByType
(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer) void
MapResourceStore.findByType
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) void
MapResourceStore.findByTypeInstance
(ResourceServer resourceServer, String type, Consumer<Resource> consumer) MapPolicyStore.findDependentPolicies
(ResourceServer resourceServer, String id) MapPermissionTicketStore.findGranted
(ResourceServer resourceServer, String userId) MapPermissionTicketStore.findGranted
(ResourceServer resourceServer, String resourceName, String userId) void
MapPermissionTicketStore.preRemove
(RealmModel realm, ResourceServer resourceServer) void
MapPolicyStore.preRemove
(RealmModel realm, ResourceServer resourceServer) void
MapResourceStore.preRemove
(RealmModel realm, ResourceServer resourceServer) void
MapScopeStore.preRemove
(RealmModel realm, ResourceServer resourceServer) ModifierConstructorDescriptionMapResourceServerStore
(MapStorage<MapResourceServerEntity, ResourceServer> resourceServerStore, AuthorizationProvider provider) -
Uses of ResourceServer in org.keycloak.models.map.authorization.adapter
Modifier and TypeClassDescriptionclass
AbstractResourceServerModel<E extends AbstractEntity>
class
Modifier and TypeMethodDescriptionMapPermissionTicketAdapter.getResourceServer()
MapPolicyAdapter.getResourceServer()
MapResourceAdapter.getResourceServer()
MapScopeAdapter.getResourceServer()
ModifierConstructorDescriptionMapPermissionTicketAdapter
(RealmModel realm, ResourceServer resourceServer, MapPermissionTicketEntity entity, StoreFactory storeFactory) MapPolicyAdapter
(RealmModel realm, ResourceServer resourceServer, MapPolicyEntity entity, StoreFactory storeFactory) MapResourceAdapter
(RealmModel realm, ResourceServer resourceServer, MapResourceEntity entity, StoreFactory storeFactory) MapScopeAdapter
(RealmModel realm, ResourceServer resourceServer, MapScopeEntity entity, StoreFactory storeFactory) -
Uses of ResourceServer in org.keycloak.models.map.storage.chm
Modifier and TypeFieldDescriptionstatic final Map<SearchableModelField<ResourceServer>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapResourceServerEntity, ResourceServer>> MapFieldPredicates.AUTHZ_RESOURCE_SERVER_PREDICATES
static final Map<SearchableModelField<ResourceServer>,
MapModelCriteriaBuilder.UpdatePredicatesFunc<Object, MapResourceServerEntity, ResourceServer>> MapFieldPredicates.AUTHZ_RESOURCE_SERVER_PREDICATES
-
Uses of ResourceServer in org.keycloak.models.map.storage.jpa.authorization.resourceServer
Modifier and TypeMethodDescriptionJpaResourceServerModelCriteriaBuilder.compare
(SearchableModelField<? super ResourceServer> modelField, ModelCriteriaBuilder.Operator op, Object... value) -
Uses of ResourceServer in org.keycloak.models.utils
Modifier and TypeMethodDescriptionstatic ResourceServer
RepresentationToModel.createResourceServer
(ClientModel client, KeycloakSession session, boolean addDefaultRoles) static ResourceServer
RepresentationToModel.toModel
(ResourceServerRepresentation rep, AuthorizationProvider authorization, ClientModel client) Modifier and TypeMethodDescriptionstatic PermissionTicket
RepresentationToModel.toModel
(PermissionTicketRepresentation representation, ResourceServer resourceServer, AuthorizationProvider authorization) static Resource
RepresentationToModel.toModel
(ResourceRepresentation resource, ResourceServer resourceServer, AuthorizationProvider authorization) static Scope
RepresentationToModel.toModel
(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization) static Scope
RepresentationToModel.toModel
(ScopeRepresentation scope, ResourceServer resourceServer, AuthorizationProvider authorization, boolean updateIfExists) static ResourceRepresentation
ModelToRepresentation.toRepresentation
(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization) static ResourceRepresentation
ModelToRepresentation.toRepresentation
(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization, Boolean deep) static ResourceServerRepresentation
ModelToRepresentation.toRepresentation
(ResourceServer model, ClientModel client) -
Uses of ResourceServer in org.keycloak.services.resources.admin.permissions
Modifier and TypeMethodDescriptionAdminPermissionManagement.realmResourceServer()
ClientPermissionManagement.resourceServer
(ClientModel client) RolePermissionManagement.resourceServer
(RoleModel role) Modifier and TypeMethodDescriptionRolePermissionManagement.manageUsersPolicy
(ResourceServer server) RolePermissionManagement.rolePolicy
(ResourceServer server, RoleModel role) RolePermissionManagement.viewUsersPolicy
(ResourceServer server)