Uses of Interface
org.keycloak.authorization.model.ResourceServer
-
-
Uses of ResourceServer in org.keycloak.authorization.admin
Fields in org.keycloak.authorization.admin declared as ResourceServer Modifier and Type Field Description protected ResourceServer
PolicyResourceService. resourceServer
protected ResourceServer
PolicyService. resourceServer
Methods in org.keycloak.authorization.admin that return ResourceServer Modifier and Type Method Description ResourceServer
ResourceServerService. create(boolean newClient)
Methods in org.keycloak.authorization.admin with parameters of type ResourceServer Modifier and Type Method Description protected void
PolicyEvaluationService.EvaluationDecisionCollector. grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)
-
Uses of ResourceServer in org.keycloak.authorization.admin.representation
Methods in org.keycloak.authorization.admin.representation with parameters of type ResourceServer Modifier and Type Method Description static PolicyEvaluationResponse
PolicyEvaluationResponseBuilder. build(PolicyEvaluationService.EvaluationDecisionCollector decision, ResourceServer resourceServer, AuthorizationProvider authorization, KeycloakIdentity identity)
-
Uses of ResourceServer in org.keycloak.authorization.jpa.store
Classes in org.keycloak.authorization.jpa.store that implement ResourceServer Modifier and Type Class Description class
ResourceServerAdapter
Methods in org.keycloak.authorization.jpa.store that return ResourceServer Modifier and Type Method Description ResourceServer
JPAResourceServerStore. create(ClientModel client)
ResourceServer
JPAResourceServerStore. findByClient(ClientModel client)
ResourceServer
JPAResourceServerStore. findById(RealmModel realm, String id)
ResourceServer
PermissionTicketAdapter. getResourceServer()
ResourceServer
PolicyAdapter. getResourceServer()
ResourceServer
ResourceAdapter. getResourceServer()
ResourceServer
ScopeAdapter. getResourceServer()
Methods in org.keycloak.authorization.jpa.store with parameters of type ResourceServer Modifier and Type Method Description long
JPAPermissionTicketStore. count(ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes)
PermissionTicket
JPAPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)
Policy
JPAPolicyStore. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Resource
JPAResourceStore. create(ResourceServer resourceServer, String id, String name, String owner)
Scope
JPAScopeStore. create(ResourceServer resourceServer, String name)
Scope
JPAScopeStore. create(ResourceServer resourceServer, String id, String name)
List<PermissionTicket>
JPAPermissionTicketStore. find(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes, Integer firstResult, Integer maxResult)
List<Policy>
JPAPolicyStore. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Resource>
JPAResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
PermissionTicket
JPAPermissionTicketStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
JPAPolicyStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Resource
JPAResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Scope
JPAScopeStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
JPAPolicyStore. findByName(ResourceServer resourceServer, String name)
Resource
JPAResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)
Scope
JPAScopeStore. findByName(ResourceServer resourceServer, String name)
void
JPAResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)
List<PermissionTicket>
JPAPermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)
void
JPAPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
List<Policy>
JPAPolicyStore. findByResourceServer(ResourceServer resourceServer)
List<Resource>
JPAResourceStore. findByResourceServer(ResourceServer resourceServer)
List<Scope>
JPAScopeStore. findByResourceServer(ResourceServer resourceServer)
List<Scope>
JPAScopeStore. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
void
JPAPolicyStore. findByResourceType(ResourceServer resourceServer, String resourceType, Consumer<Policy> consumer)
List<PermissionTicket>
JPAPermissionTicketStore. findByScope(ResourceServer resourceServer, Scope scope)
List<Policy>
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)
List<Policy>
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)
List<Policy>
JPAPolicyStore. findDependentPolicies(ResourceServer resourceServer, String policyId)
List<PermissionTicket>
JPAPermissionTicketStore. findGranted(ResourceServer resourceServer, String userId)
List<PermissionTicket>
JPAPermissionTicketStore. findGranted(ResourceServer resourceServer, String resourceName, String userId)
static ResourceServerEntity
ResourceServerAdapter. toEntity(javax.persistence.EntityManager em, ResourceServer resource)
-
Uses of ResourceServer in org.keycloak.authorization.model
Fields in org.keycloak.authorization.model with type parameters of type ResourceServer Modifier and Type Field Description static SearchableModelField<ResourceServer>
ResourceServer.SearchableFields. CLIENT_ID
ID of the client (not the clientId) associated with resource serverstatic SearchableModelField<ResourceServer>
ResourceServer.SearchableFields. ID
static SearchableModelField<ResourceServer>
ResourceServer.SearchableFields. REALM_ID
Methods in org.keycloak.authorization.model that return ResourceServer Modifier and Type Method Description ResourceServer
PermissionTicket. getResourceServer()
Returns theResourceServer
where this policy belongs to.ResourceServer
Policy. getResourceServer()
Returns theResourceServer
where this policy belongs to.ResourceServer
Resource. getResourceServer()
Returns theResourceServer
to where this resource belongs to.ResourceServer
Scope. getResourceServer()
Returns theResourceServer
instance to where this scope belongs to. -
Uses of ResourceServer in org.keycloak.authorization.permission
Methods in org.keycloak.authorization.permission that return ResourceServer Modifier and Type Method Description ResourceServer
ResourcePermission. getResourceServer()
Returns the resource server associated with this permission.Methods in org.keycloak.authorization.permission with parameters of type ResourceServer Modifier and Type Method Description static 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)
static Set<Scope>
Permissions. resolveScopes(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization)
Constructors in org.keycloak.authorization.permission with parameters of type ResourceServer Constructor Description ResourcePermission(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
Methods in org.keycloak.authorization.permission.evaluator with parameters of type ResourceServer Modifier and Type Method Description Collection<Permission>
PermissionEvaluator. evaluate(ResourceServer resourceServer, AuthorizationRequest request)
Collection<Permission>
UnboundedPermissionEvaluator. evaluate(ResourceServer resourceServer, AuthorizationRequest request)
PermissionEvaluator
Evaluators. from(EvaluationContext evaluationContext, ResourceServer resourceServer, AuthorizationRequest request)
-
Uses of ResourceServer in org.keycloak.authorization.policy.evaluation
Methods in org.keycloak.authorization.policy.evaluation with parameters of type ResourceServer Modifier and Type Method Description protected void
DecisionPermissionCollector. grantPermission(AuthorizationProvider authorizationProvider, Set<Permission> permissions, ResourcePermission permission, Collection<Scope> grantedScopes, ResourceServer resourceServer, AuthorizationRequest request, Result result)
Constructors in org.keycloak.authorization.policy.evaluation with parameters of type ResourceServer Constructor Description DecisionPermissionCollector(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
Methods in org.keycloak.authorization.policy.provider with parameters of type ResourceServer Modifier and Type Method Description default PolicyProviderAdminService
PolicyProviderFactory. getAdminResource(ResourceServer resourceServer, AuthorizationProvider authorization)
-
Uses of ResourceServer in org.keycloak.authorization.protection.permission
Constructors in org.keycloak.authorization.protection.permission with parameters of type ResourceServer Constructor Description AbstractPermissionService(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
Constructors in org.keycloak.authorization.protection.policy with parameters of type ResourceServer Constructor Description UserManagedPermissionService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization, AdminEventBuilder eventBuilder)
-
Uses of ResourceServer in org.keycloak.authorization.protection.resource
Constructors in org.keycloak.authorization.protection.resource with parameters of type ResourceServer Constructor Description ResourceService(KeycloakSession session, ResourceServer resourceServer, Identity identity, ResourceSetService resourceManager)
-
Uses of ResourceServer in org.keycloak.authorization.store
Methods in org.keycloak.authorization.store that return ResourceServer Modifier and Type Method Description ResourceServer
ResourceServerStore. create(ClientModel client)
Creates aResourceServer
instance backed by this persistent storage implementation.ResourceServer
ResourceServerStore. findByClient(ClientModel client)
Returns aResourceServer
instance based on a client.ResourceServer
ResourceServerStore. findById(RealmModel realm, String id)
Returns aResourceServer
instance based on its identifier.Methods in org.keycloak.authorization.store with parameters of type ResourceServer Modifier and Type Method Description long
PermissionTicketStore. count(ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes)
Returns count ofPermissionTicket
, filtered by the given attributes.PermissionTicket
PermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)
Creates a newPermissionTicket
instance.Policy
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.Resource
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.Scope
ScopeStore. create(ResourceServer resourceServer, String id, String name)
Creates a newScope
instance.List<PermissionTicket>
PermissionTicketStore. find(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes, Integer firstResult, Integer maxResults)
Returns a list ofPermissionTicket
, filtered by the given attributes.List<Policy>
PolicyStore. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Resource>
ResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
Finds allResource
instances associated with a given resource server.PermissionTicket
PermissionTicketStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Returns aPermissionTicket
with the givenid
Policy
PolicyStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Returns aPolicy
with the givenid
Resource
ResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Returns aResource
instance based on its identifier.Scope
ScopeStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Returns aScope
with the givenid
Policy
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.Resource
ResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)
Find aResource
by its name where the owner is the givenownerId
.Scope
ScopeStore. findByName(ResourceServer resourceServer, String name)
Returns aScope
with the givenname
default List<Resource>
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)
List<PermissionTicket>
PermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)
Returns a list ofPermissionTicket
associated with theresource
.default List<Policy>
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
List<Policy>
PolicyStore. findByResourceServer(ResourceServer resourceServer)
Returns a list ofPolicy
associated with theResourceServer
List<Resource>
ResourceStore. findByResourceServer(ResourceServer resourceServer)
Finds allResource
instances associated with a given resource server.List<Scope>
ScopeStore. findByResourceServer(ResourceServer resourceServer)
Returns a list ofScope
associated with theResourceServer
.List<Scope>
ScopeStore. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
default List<Policy>
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 consumerList<PermissionTicket>
PermissionTicketStore. findByScope(ResourceServer resourceServer, Scope scope)
Returns a list ofPermissionTicket
associated with thescope
.List<Policy>
PolicyStore. findByScopes(ResourceServer resourceServer, List<Scope> scopes)
default List<Policy>
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.default List<Resource>
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)
List<Policy>
PolicyStore. findByType(ResourceServer resourceServer, String type)
Returns a list ofPolicy
with the giventype
.default List<Resource>
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 ownerList<Policy>
PolicyStore. findDependentPolicies(ResourceServer resourceServer, String id)
Returns a list ofPolicy
that depends on another policy with the givenid
.List<PermissionTicket>
PermissionTicketStore. findGranted(ResourceServer resourceServer, String userId)
Returns a list ofPermissionTicket
granted to the givenuserId
.List<PermissionTicket>
PermissionTicketStore. findGranted(ResourceServer resourceServer, String resourceName, String userId)
-
Uses of ResourceServer in org.keycloak.forms.account.freemarker.model
Methods in org.keycloak.forms.account.freemarker.model that return ResourceServer Modifier and Type Method Description ResourceServer
AuthorizationBean.ResourceServerBean. getResourceServerModel()
Constructors in org.keycloak.forms.account.freemarker.model with parameters of type ResourceServer Constructor Description ResourceServerBean(ClientModel clientModel, ResourceServer resourceServer)
-
Uses of ResourceServer in org.keycloak.models.cache.infinispan.authorization
Classes in org.keycloak.models.cache.infinispan.authorization that implement ResourceServer Modifier and Type Class Description class
ResourceServerAdapter
Fields in org.keycloak.models.cache.infinispan.authorization declared as ResourceServer Modifier and Type Field Description protected ResourceServer
ResourceServerAdapter. updated
Methods in org.keycloak.models.cache.infinispan.authorization that return ResourceServer Modifier and Type Method Description ResourceServer
StoreFactoryCacheSession.ResourceServerCache. create(ClientModel client)
ResourceServer
StoreFactoryCacheSession.ResourceServerCache. findByClient(ClientModel client)
ResourceServer
StoreFactoryCacheSession.ResourceServerCache. findById(RealmModel realm, String id)
ResourceServer
ResourceServerAdapter. getDelegateForUpdate()
ResourceServer
PermissionTicketAdapter. getResourceServer()
ResourceServer
PolicyAdapter. getResourceServer()
ResourceServer
ResourceAdapter. getResourceServer()
ResourceServer
ScopeAdapter. getResourceServer()
Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type ResourceServer Modifier and Type Method Description long
StoreFactoryCacheSession.PermissionTicketCache. count(ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes)
PermissionTicket
StoreFactoryCacheSession.PermissionTicketCache. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)
Policy
StoreFactoryCacheSession.PolicyCache. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Resource
StoreFactoryCacheSession.ResourceCache. create(ResourceServer resourceServer, String id, String name, String owner)
Scope
StoreFactoryCacheSession.ScopeCache. create(ResourceServer resourceServer, String name)
Scope
StoreFactoryCacheSession.ScopeCache. create(ResourceServer resourceServer, String id, String name)
List<PermissionTicket>
StoreFactoryCacheSession.PermissionTicketCache. find(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes, Integer firstResult, Integer maxResult)
List<Policy>
StoreFactoryCacheSession.PolicyCache. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Resource>
StoreFactoryCacheSession.ResourceCache. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
PermissionTicket
StoreFactoryCacheSession.PermissionTicketCache. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
StoreFactoryCacheSession.PolicyCache. findById(RealmModel realm, ResourceServer resourceServer, String id)
Resource
StoreFactoryCacheSession.ResourceCache. findById(RealmModel realm, ResourceServer resourceServer, String id)
Scope
StoreFactoryCacheSession.ScopeCache. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
StoreFactoryCacheSession.PolicyCache. findByName(ResourceServer resourceServer, String name)
Resource
StoreFactoryCacheSession.ResourceCache. findByName(ResourceServer resourceServer, String name, String ownerId)
Scope
StoreFactoryCacheSession.ScopeCache. findByName(ResourceServer resourceServer, String name)
List<Resource>
StoreFactoryCacheSession.ResourceCache. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId)
void
StoreFactoryCacheSession.ResourceCache. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)
List<PermissionTicket>
StoreFactoryCacheSession.PermissionTicketCache. findByResource(ResourceServer resourceServer, Resource resource)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByResource(ResourceServer resourceServer, Resource resource)
void
StoreFactoryCacheSession.PolicyCache. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByResourceServer(ResourceServer resourceServer)
List<Resource>
StoreFactoryCacheSession.ResourceCache. findByResourceServer(ResourceServer resourceServer)
List<Scope>
StoreFactoryCacheSession.ScopeCache. findByResourceServer(ResourceServer resourceServer)
List<Scope>
StoreFactoryCacheSession.ScopeCache. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByResourceType(ResourceServer resourceServer, String resourceType)
void
StoreFactoryCacheSession.PolicyCache. findByResourceType(ResourceServer resourceServer, String resourceType, Consumer<Policy> consumer)
List<PermissionTicket>
StoreFactoryCacheSession.PermissionTicketCache. findByScope(ResourceServer resourceServer, Scope scope)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, List<Scope> scopes)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)
void
StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)
List<Resource>
StoreFactoryCacheSession.ResourceCache. findByScopes(ResourceServer resourceServer, Set<Scope> scopes)
void
StoreFactoryCacheSession.ResourceCache. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findByType(ResourceServer resourceServer, String type)
List<Resource>
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)
List<Policy>
StoreFactoryCacheSession.PolicyCache. findDependentPolicies(ResourceServer resourceServer, String id)
List<PermissionTicket>
StoreFactoryCacheSession.PermissionTicketCache. findGranted(ResourceServer resourceServer, String userId)
List<PermissionTicket>
StoreFactoryCacheSession.PermissionTicketCache. findGranted(ResourceServer resourceServer, String resourceName, String userId)
-
Uses of ResourceServer in org.keycloak.models.cache.infinispan.authorization.entities
Constructors in org.keycloak.models.cache.infinispan.authorization.entities with parameters of type ResourceServer Constructor Description CachedResourceServer(Long revision, ResourceServer resourceServer)
-
Uses of ResourceServer in org.keycloak.models.map.authorization
Methods in org.keycloak.models.map.authorization that return ResourceServer Modifier and Type Method Description ResourceServer
MapResourceServerStore. create(ClientModel client)
ResourceServer
MapResourceServerStore. findByClient(ClientModel client)
ResourceServer
MapResourceServerStore. findById(RealmModel realm, String id)
Methods in org.keycloak.models.map.authorization with parameters of type ResourceServer Modifier and Type Method Description long
MapPermissionTicketStore. count(ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes)
PermissionTicket
MapPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)
Policy
MapPolicyStore. create(ResourceServer resourceServer, AbstractPolicyRepresentation representation)
Resource
MapResourceStore. create(ResourceServer resourceServer, String id, String name, String owner)
Scope
MapScopeStore. create(ResourceServer resourceServer, String id, String name)
List<PermissionTicket>
MapPermissionTicketStore. find(RealmModel realm, ResourceServer resourceServer, Map<PermissionTicket.FilterOption,String> attributes, Integer firstResult, Integer maxResult)
List<Policy>
MapPolicyStore. find(RealmModel realm, ResourceServer resourceServer, Map<Policy.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
List<Resource>
MapResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
PermissionTicket
MapPermissionTicketStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
MapPolicyStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Resource
MapResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Scope
MapScopeStore. findById(RealmModel realm, ResourceServer resourceServer, String id)
Policy
MapPolicyStore. findByName(ResourceServer resourceServer, String name)
Resource
MapResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)
Scope
MapScopeStore. findByName(ResourceServer resourceServer, String name)
void
MapResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)
List<PermissionTicket>
MapPermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)
void
MapPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)
List<Policy>
MapPolicyStore. findByResourceServer(ResourceServer resourceServer)
List<Resource>
MapResourceStore. findByResourceServer(ResourceServer resourceServer)
List<Scope>
MapScopeStore. findByResourceServer(ResourceServer resourceServer)
List<Scope>
MapScopeStore. findByResourceServer(ResourceServer resourceServer, Map<Scope.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)
void
MapPolicyStore. findByResourceType(ResourceServer resourceServer, String type, Consumer<Policy> policyConsumer)
List<PermissionTicket>
MapPermissionTicketStore. findByScope(ResourceServer resourceServer, Scope scope)
List<Policy>
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)
List<Policy>
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)
List<Policy>
MapPolicyStore. findDependentPolicies(ResourceServer resourceServer, String id)
List<PermissionTicket>
MapPermissionTicketStore. findGranted(ResourceServer resourceServer, String userId)
List<PermissionTicket>
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)
Constructor parameters in org.keycloak.models.map.authorization with type arguments of type ResourceServer Constructor Description MapResourceServerStore(KeycloakSession session, MapStorage<MapResourceServerEntity,ResourceServer> resourceServerStore, AuthorizationProvider provider)
-
Uses of ResourceServer in org.keycloak.models.map.authorization.adapter
Classes in org.keycloak.models.map.authorization.adapter that implement ResourceServer Modifier and Type Class Description class
AbstractResourceServerModel<E extends AbstractEntity>
class
MapResourceServerAdapter
Methods in org.keycloak.models.map.authorization.adapter that return ResourceServer Modifier and Type Method Description ResourceServer
MapPermissionTicketAdapter. getResourceServer()
ResourceServer
MapPolicyAdapter. getResourceServer()
ResourceServer
MapResourceAdapter. getResourceServer()
ResourceServer
MapScopeAdapter. getResourceServer()
Constructors in org.keycloak.models.map.authorization.adapter with parameters of type ResourceServer Constructor Description MapPermissionTicketAdapter(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
Fields in org.keycloak.models.map.storage.chm with type parameters of type ResourceServer Modifier and Type Field Description static Map<SearchableModelField<ResourceServer>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapResourceServerEntity,ResourceServer>>
MapFieldPredicates. AUTHZ_RESOURCE_SERVER_PREDICATES
static 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
Method parameters in org.keycloak.models.map.storage.jpa.authorization.resourceServer with type arguments of type ResourceServer Modifier and Type Method Description JpaResourceServerModelCriteriaBuilder
JpaResourceServerModelCriteriaBuilder. compare(SearchableModelField<? super ResourceServer> modelField, ModelCriteriaBuilder.Operator op, Object... value)
-
Uses of ResourceServer in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return ResourceServer Modifier and Type Method Description static ResourceServer
RepresentationToModel. createResourceServer(ClientModel client, KeycloakSession session, boolean addDefaultRoles)
static ResourceServer
RepresentationToModel. toModel(ResourceServerRepresentation rep, AuthorizationProvider authorization, ClientModel client)
Methods in org.keycloak.models.utils with parameters of type ResourceServer Modifier and Type Method Description static 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
Methods in org.keycloak.services.resources.admin.permissions that return ResourceServer Modifier and Type Method Description ResourceServer
AdminPermissionManagement. realmResourceServer()
ResourceServer
ClientPermissionManagement. resourceServer(ClientModel client)
ResourceServer
RolePermissionManagement. resourceServer(RoleModel role)
Methods in org.keycloak.services.resources.admin.permissions with parameters of type ResourceServer Modifier and Type Method Description Policy
RolePermissionManagement. manageUsersPolicy(ResourceServer server)
Policy
RolePermissionManagement. rolePolicy(ResourceServer server, RoleModel role)
Policy
RolePermissionManagement. viewUsersPolicy(ResourceServer server)
-