Uses of Interface
org.keycloak.authorization.model.Resource
- 
Packages that use Resource Package Description org.keycloak.authorization.admin org.keycloak.authorization.jpa.store org.keycloak.authorization.model Provides the domain model and any other type related with itorg.keycloak.authorization.permission org.keycloak.authorization.protection.resource org.keycloak.authorization.store Provides classes and a SPI to plug different metadata storage implementations.org.keycloak.forms.account.freemarker.model org.keycloak.models.cache.infinispan.authorization org.keycloak.models.cache.infinispan.authorization.entities org.keycloak.models.map.authorization org.keycloak.models.map.authorization.adapter org.keycloak.models.map.storage.chm org.keycloak.models.map.storage.jpa.authorization.resource org.keycloak.models.utils org.keycloak.services.resources.admin.permissions 
- 
- 
Uses of Resource in org.keycloak.authorization.adminMethod parameters in org.keycloak.authorization.admin with type arguments of type Resource Modifier and Type Method Description javax.ws.rs.core.ResponseResourceSetService. find(String id, String name, String uri, String owner, String type, String scope, Boolean matchingUri, Boolean exactName, Boolean deep, Integer firstResult, Integer maxResult, BiFunction<Resource,Boolean,?> toRepresentation)javax.ws.rs.core.ResponseResourceSetService. findById(String id, Function<Resource,? extends ResourceRepresentation> toRepresentation)
- 
Uses of Resource in org.keycloak.authorization.jpa.storeClasses in org.keycloak.authorization.jpa.store that implement Resource Modifier and Type Class Description classResourceAdapterMethods in org.keycloak.authorization.jpa.store that return Resource Modifier and Type Method Description ResourceJPAResourceStore. create(ResourceServer resourceServer, String id, String name, String owner)ResourceJPAResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)ResourceJPAResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)ResourcePermissionTicketAdapter. getResource()Methods in org.keycloak.authorization.jpa.store that return types with arguments of type Resource Modifier and Type Method Description List<Resource>JPAResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)List<Resource>JPAResourceStore. findByResourceServer(ResourceServer resourceServer)List<Resource>JPAPermissionTicketStore. findGrantedOwnerResources(RealmModel realm, String owner, Integer firstResult, Integer maxResults)List<Resource>JPAPermissionTicketStore. findGrantedResources(RealmModel realm, String requester, String name, Integer first, Integer max)Set<Resource>PolicyAdapter. getResources()Methods in org.keycloak.authorization.jpa.store with parameters of type Resource Modifier and Type Method Description voidPolicyAdapter. addResource(Resource resource)PermissionTicketJPAPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)List<PermissionTicket>JPAPermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)voidJPAPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)voidJPAPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)voidPolicyAdapter. removeResource(Resource resource)static ResourceEntityResourceAdapter. toEntity(javax.persistence.EntityManager em, Resource resource)Method parameters in org.keycloak.authorization.jpa.store with type arguments of type Resource Modifier and Type Method Description voidJPAResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)voidJPAResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)voidJPAResourceStore. findByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer)voidJPAResourceStore. findByType(ResourceServer resourceServer, String type, Consumer<Resource> consumer)voidJPAResourceStore. findByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer)
- 
Uses of Resource in org.keycloak.authorization.modelFields in org.keycloak.authorization.model with type parameters of type Resource Modifier and Type Field Description static SearchableModelField<Resource>Resource.SearchableFields. IDstatic SearchableModelField<Resource>Resource.SearchableFields. NAMEstatic SearchableModelField<Resource>Resource.SearchableFields. OWNERstatic SearchableModelField<Resource>Resource.SearchableFields. OWNER_MANAGED_ACCESSstatic SearchableModelField<Resource>Resource.SearchableFields. REALM_IDstatic SearchableModelField<Resource>Resource.SearchableFields. RESOURCE_SERVER_IDstatic SearchableModelField<Resource>Resource.SearchableFields. SCOPE_IDstatic SearchableModelField<Resource>Resource.SearchableFields. TYPEstatic SearchableModelField<Resource>Resource.SearchableFields. URIMethods in org.keycloak.authorization.model that return Resource Modifier and Type Method Description ResourcePermissionTicket. getResource()Returns theResourceassociated with this instanceMethods in org.keycloak.authorization.model that return types with arguments of type Resource Modifier and Type Method Description Set<Resource>Policy. getResources()Returns theResourceinstances where this policy applies.SearchableModelField<Resource>Resource.FilterOption. getSearchableModelField()Methods in org.keycloak.authorization.model with parameters of type Resource Modifier and Type Method Description voidPolicy. addResource(Resource resource)voidPolicy. removeResource(Resource resource)
- 
Uses of Resource in org.keycloak.authorization.permissionMethods in org.keycloak.authorization.permission that return Resource Modifier and Type Method Description ResourceResourcePermission. getResource()Returns the resource to which this permission applies.Methods in org.keycloak.authorization.permission with parameters of type Resource Modifier and Type Method Description static ResourcePermissionPermissions. createResourcePermissions(Resource resource, ResourceServer resourceServer, Collection<Scope> requestedScopes, AuthorizationProvider authorization, AuthorizationRequest request)static ResourcePermissionPermissions. 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 Resource 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 Resource in org.keycloak.authorization.protection.resourceConstructors in org.keycloak.authorization.protection.resource with parameters of type Resource Constructor Description UmaResourceRepresentation(Resource resource)
- 
Uses of Resource in org.keycloak.authorization.storeMethods in org.keycloak.authorization.store that return Resource Modifier and Type Method Description default ResourceResourceStore. create(ResourceServer resourceServer, String name, String owner)Creates aResourceinstance backed by this persistent storage implementation.ResourceResourceStore. create(ResourceServer resourceServer, String id, String name, String owner)Creates aResourceinstance backed by this persistent storage implementation.ResourceResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)Returns aResourceinstance based on its identifier.default ResourceResourceStore. findByName(ResourceServer resourceServer, String name)Find aResourceby its name where the owner is the resource server itself.ResourceResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)Find aResourceby its name where the owner is the givenownerId.Methods in org.keycloak.authorization.store that return types with arguments of type Resource Modifier and Type Method Description List<Resource>ResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)Finds allResourceinstances associated with a given resource server.default List<Resource>ResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId)Finds allResourceinstances with the givenownerId.List<Resource>ResourceStore. findByResourceServer(ResourceServer resourceServer)Finds allResourceinstances associated with a given resource server.default List<Resource>ResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes)Finds allResourceassociated with a given scope.default List<Resource>ResourceStore. findByType(ResourceServer resourceServer, String type)Finds allResourcefromResourceServerwith the given type.List<Resource>PermissionTicketStore. findGrantedOwnerResources(RealmModel realm, String owner, Integer firstResult, Integer maxResults)Returns a list ofResourcegranted by the owner to other usersList<Resource>PermissionTicketStore. findGrantedResources(RealmModel realm, String requester, String name, Integer firstResult, Integer maxResults)Returns a list ofResourcegranted to the givenrequesterMethods in org.keycloak.authorization.store with parameters of type Resource Modifier and Type Method Description PermissionTicketPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)Creates a newPermissionTicketinstance.List<PermissionTicket>PermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)Returns a list ofPermissionTicketassociated with theresource.default List<Policy>PolicyStore. findByResource(ResourceServer resourceServer, Resource resource)voidPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)Searches for all policies associated with theResourceand passes the result to theconsumerdefault List<Policy>PolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)voidPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)Effectively the same method asPolicyStore.findByScopes(ResourceServer, Resource, List), however in the end theconsumeris fed with the result.Method parameters in org.keycloak.authorization.store with type arguments of type Resource Modifier and Type Method Description voidResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)voidResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)voidResourceStore. findByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer)Finds allResourcewith the given type.voidResourceStore. findByType(ResourceServer resourceServer, String type, Consumer<Resource> consumer)Finds allResourcefromResourceServerwith the given type.voidResourceStore. findByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer)Finds allResourceby type where client represented by theresourceServeris not the owner
- 
Uses of Resource in org.keycloak.forms.account.freemarker.modelConstructors in org.keycloak.forms.account.freemarker.model with parameters of type Resource Constructor Description ResourceBean(Resource resource)
- 
Uses of Resource in org.keycloak.models.cache.infinispan.authorizationClasses in org.keycloak.models.cache.infinispan.authorization that implement Resource Modifier and Type Class Description classResourceAdapterFields in org.keycloak.models.cache.infinispan.authorization declared as Resource Modifier and Type Field Description protected ResourceResourceAdapter. updatedFields in org.keycloak.models.cache.infinispan.authorization with type parameters of type Resource Modifier and Type Field Description protected Set<Resource>PolicyAdapter. resourcesMethods in org.keycloak.models.cache.infinispan.authorization that return Resource Modifier and Type Method Description ResourceStoreFactoryCacheSession.ResourceCache. create(ResourceServer resourceServer, String id, String name, String owner)ResourceStoreFactoryCacheSession.ResourceCache. findById(RealmModel realm, ResourceServer resourceServer, String id)ResourceStoreFactoryCacheSession.ResourceCache. findByName(ResourceServer resourceServer, String name, String ownerId)ResourceResourceAdapter. getDelegateForUpdate()ResourcePermissionTicketAdapter. getResource()Methods in org.keycloak.models.cache.infinispan.authorization that return types with arguments of type Resource Modifier and Type Method Description List<Resource>StoreFactoryCacheSession.ResourceCache. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)List<Resource>StoreFactoryCacheSession.ResourceCache. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId)List<Resource>StoreFactoryCacheSession.ResourceCache. findByResourceServer(ResourceServer resourceServer)List<Resource>StoreFactoryCacheSession.ResourceCache. findByScopes(ResourceServer resourceServer, Set<Scope> scopes)List<Resource>StoreFactoryCacheSession.ResourceCache. findByType(ResourceServer resourceServer, String type)List<Resource>StoreFactoryCacheSession.PermissionTicketCache. findGrantedOwnerResources(RealmModel realm, String owner, Integer firstResult, Integer maxResults)List<Resource>StoreFactoryCacheSession.PermissionTicketCache. findGrantedResources(RealmModel realm, String requester, String name, Integer first, Integer max)Set<Resource>PolicyAdapter. getResources()Methods in org.keycloak.models.cache.infinispan.authorization with parameters of type Resource Modifier and Type Method Description voidPolicyAdapter. addResource(Resource resource)PermissionTicketStoreFactoryCacheSession.PermissionTicketCache. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)List<PermissionTicket>StoreFactoryCacheSession.PermissionTicketCache. findByResource(ResourceServer resourceServer, Resource resource)List<Policy>StoreFactoryCacheSession.PolicyCache. findByResource(ResourceServer resourceServer, Resource resource)voidStoreFactoryCacheSession.PolicyCache. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)List<Policy>StoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes)voidStoreFactoryCacheSession.PolicyCache. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)voidPolicyAdapter. removeResource(Resource resource)Method parameters in org.keycloak.models.cache.infinispan.authorization with type arguments of type Resource Modifier and Type Method Description voidStoreFactoryCacheSession.ResourceCache. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)voidStoreFactoryCacheSession.ResourceCache. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)voidStoreFactoryCacheSession.ResourceCache. findByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer)voidStoreFactoryCacheSession.ResourceCache. findByType(ResourceServer resourceServer, String type, Consumer<Resource> consumer)voidStoreFactoryCacheSession.ResourceCache. findByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer)
- 
Uses of Resource in org.keycloak.models.cache.infinispan.authorization.entitiesMethod parameters in org.keycloak.models.cache.infinispan.authorization.entities with type arguments of type Resource Modifier and Type Method Description Map<String,List<String>>CachedResource. getAttributes(Supplier<Resource> source)Set<String>CachedResource. getScopesIds(Supplier<Resource> source)Set<String>CachedResource. getUris(Supplier<Resource> source)Constructors in org.keycloak.models.cache.infinispan.authorization.entities with parameters of type Resource Constructor Description CachedResource(Long revision, Resource resource)
- 
Uses of Resource in org.keycloak.models.map.authorizationMethods in org.keycloak.models.map.authorization that return Resource Modifier and Type Method Description ResourceMapResourceStore. create(ResourceServer resourceServer, String id, String name, String owner)ResourceMapResourceStore. findById(RealmModel realm, ResourceServer resourceServer, String id)ResourceMapResourceStore. findByName(ResourceServer resourceServer, String name, String ownerId)Methods in org.keycloak.models.map.authorization that return types with arguments of type Resource Modifier and Type Method Description List<Resource>MapResourceStore. find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption,String[]> attributes, Integer firstResult, Integer maxResults)List<Resource>MapResourceStore. findByResourceServer(ResourceServer resourceServer)List<Resource>MapPermissionTicketStore. findGrantedOwnerResources(RealmModel realm, String owner, Integer firstResult, Integer maxResults)List<Resource>MapPermissionTicketStore. findGrantedResources(RealmModel realm, String requester, String name, Integer first, Integer max)Methods in org.keycloak.models.map.authorization with parameters of type Resource Modifier and Type Method Description PermissionTicketMapPermissionTicketStore. create(ResourceServer resourceServer, Resource resource, Scope scope, String requester)List<PermissionTicket>MapPermissionTicketStore. findByResource(ResourceServer resourceServer, Resource resource)voidMapPolicyStore. findByResource(ResourceServer resourceServer, Resource resource, Consumer<Policy> consumer)voidMapPolicyStore. findByScopes(ResourceServer resourceServer, Resource resource, List<Scope> scopes, Consumer<Policy> consumer)Method parameters in org.keycloak.models.map.authorization with type arguments of type Resource Modifier and Type Method Description voidMapResourceStore. findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer)voidMapResourceStore. findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer)voidMapResourceStore. findByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer)voidMapResourceStore. findByType(ResourceServer resourceServer, String type, Consumer<Resource> consumer)voidMapResourceStore. findByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer)Constructor parameters in org.keycloak.models.map.authorization with type arguments of type Resource Constructor Description MapResourceStore(MapStorage<MapResourceEntity,Resource> resourceStore, AuthorizationProvider provider)
- 
Uses of Resource in org.keycloak.models.map.authorization.adapterClasses in org.keycloak.models.map.authorization.adapter that implement Resource Modifier and Type Class Description classAbstractResourceModel<E extends AbstractEntity>classMapResourceAdapterMethods in org.keycloak.models.map.authorization.adapter that return Resource Modifier and Type Method Description ResourceMapPermissionTicketAdapter. getResource()Methods in org.keycloak.models.map.authorization.adapter that return types with arguments of type Resource Modifier and Type Method Description Set<Resource>MapPolicyAdapter. getResources()Methods in org.keycloak.models.map.authorization.adapter with parameters of type Resource Modifier and Type Method Description voidMapPolicyAdapter. addResource(Resource resource)voidMapPolicyAdapter. removeResource(Resource resource)
- 
Uses of Resource in org.keycloak.models.map.storage.chmFields in org.keycloak.models.map.storage.chm with type parameters of type Resource Modifier and Type Field Description static Map<SearchableModelField<Resource>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapResourceEntity,Resource>>MapFieldPredicates. AUTHZ_RESOURCE_PREDICATESstatic Map<SearchableModelField<Resource>,MapModelCriteriaBuilder.UpdatePredicatesFunc<Object,MapResourceEntity,Resource>>MapFieldPredicates. AUTHZ_RESOURCE_PREDICATES
- 
Uses of Resource in org.keycloak.models.map.storage.jpa.authorization.resourceMethod parameters in org.keycloak.models.map.storage.jpa.authorization.resource with type arguments of type Resource Modifier and Type Method Description JpaResourceModelCriteriaBuilderJpaResourceModelCriteriaBuilder. compare(SearchableModelField<? super Resource> modelField, ModelCriteriaBuilder.Operator op, Object... value)
- 
Uses of Resource in org.keycloak.models.utilsMethods in org.keycloak.models.utils that return Resource Modifier and Type Method Description static ResourceRepresentationToModel. toModel(ResourceRepresentation resource, ResourceServer resourceServer, AuthorizationProvider authorization)Methods in org.keycloak.models.utils with parameters of type Resource Modifier and Type Method Description static ResourceRepresentationModelToRepresentation. toRepresentation(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization)static ResourceRepresentationModelToRepresentation. toRepresentation(Resource model, ResourceServer resourceServer, AuthorizationProvider authorization, Boolean deep)
- 
Uses of Resource in org.keycloak.services.resources.admin.permissionsMethods in org.keycloak.services.resources.admin.permissions that return Resource Modifier and Type Method Description ResourceClientPermissionManagement. resource(ClientModel client)ResourceGroupPermissionManagement. resource(GroupModel group)ResourceIdentityProviderPermissionManagement. resource(IdentityProviderModel idp)ResourceRolePermissionManagement. resource(RoleModel role)ResourceUserPermissionManagement. resource()
 
-