Class StoreFactoryCacheSession.ResourceCache
java.lang.Object
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache
- All Implemented Interfaces:
ResourceStore
- Enclosing class:
- StoreFactoryCacheSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ResourceServer resourceServer, String id, String name, String owner) voiddelete(RealmModel realm, String id) find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) findById(RealmModel realm, ResourceServer resourceServer, String id) findByName(ResourceServer resourceServer, String name, String ownerId) findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId) voidfindByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer) findByResourceServer(ResourceServer resourceServer) findByScopes(ResourceServer resourceServer, Set<Scope> scopes) voidfindByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) findByType(ResourceServer resourceServer, String type) voidfindByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer) voidfindByType(ResourceServer resourceServer, String type, Consumer<Resource> consumer) voidfindByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authorization.store.ResourceStore
create, findByName
-
Constructor Details
-
ResourceCache
protected ResourceCache()
-
-
Method Details
-
create
- Specified by:
createin interfaceResourceStore
-
delete
- Specified by:
deletein interfaceResourceStore
-
findById
- Specified by:
findByIdin interfaceResourceStore
-
findByName
- Specified by:
findByNamein interfaceResourceStore
-
findByOwner
- Specified by:
findByOwnerin interfaceResourceStore
-
findByOwner
public void findByOwner(RealmModel realm, ResourceServer resourceServer, String ownerId, Consumer<Resource> consumer) - Specified by:
findByOwnerin interfaceResourceStore
-
findByResourceServer
- Specified by:
findByResourceServerin interfaceResourceStore
-
find
public List<Resource> find(RealmModel realm, ResourceServer resourceServer, Map<Resource.FilterOption, String[]> attributes, Integer firstResult, Integer maxResults) - Specified by:
findin interfaceResourceStore
-
findByScopes
- Specified by:
findByScopesin interfaceResourceStore
-
findByScopes
public void findByScopes(ResourceServer resourceServer, Set<Scope> scopes, Consumer<Resource> consumer) - Specified by:
findByScopesin interfaceResourceStore
-
findByType
- Specified by:
findByTypein interfaceResourceStore
-
findByType
- Specified by:
findByTypein interfaceResourceStore
-
findByType
public void findByType(ResourceServer resourceServer, String type, String owner, Consumer<Resource> consumer) - Specified by:
findByTypein interfaceResourceStore
-
findByTypeInstance
public void findByTypeInstance(ResourceServer resourceServer, String type, Consumer<Resource> consumer) - Specified by:
findByTypeInstancein interfaceResourceStore
-