|
keycloak
|


公開メンバ関数 | |
| Resource | create (String name, ResourceServer resourceServer, String owner) |
| Resource | create (String id, String name, ResourceServer resourceServer, String owner) |
| void | delete (String id) |
| Resource | findById (String id, String resourceServerId) |
| List< Resource > | findByOwner (String ownerId, String resourceServerId) |
| void | findByOwner (String ownerId, String resourceServerId, Consumer< Resource > consumer) |
| List< Resource > | findByUri (String uri, String resourceServerId) |
| List< Resource > | findByResourceServer (String resourceServerId) |
| List< Resource > | findByResourceServer (Map< String, String[]> attributes, String resourceServerId, int firstResult, int maxResult) |
| List< Resource > | findByScope (List< String > id, String resourceServerId) |
| void | findByScope (List< String > scopes, String resourceServerId, Consumer< Resource > consumer) |
| Resource | findByName (String name, String resourceServerId) |
| Resource | findByName (String name, String ownerId, String resourceServerId) |
| List< Resource > | findByType (String type, String resourceServerId) |
| void | findByType (String type, String resourceServerId, Consumer< Resource > consumer) |
A ResourceStore is responsible to manage the persistence of Resource instances.
| Resource org.keycloak.authorization.store.ResourceStore.create | ( | String | name, |
| ResourceServer | resourceServer, | ||
| String | owner | ||
| ) |
Creates a Resource instance backed by this persistent storage implementation.
| name | the name of this resource. It must be unique. |
| resourceServer | the resource server to where the given resource belongs to |
| owner | the owner of this resource or null if the resource server is the owner |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| Resource org.keycloak.authorization.store.ResourceStore.create | ( | String | id, |
| String | name, | ||
| ResourceServer | resourceServer, | ||
| String | owner | ||
| ) |
Creates a Resource instance backed by this persistent storage implementation.
| id | the id of this resource. It must be unique. |
| name | the name of this resource. It must be unique. |
| resourceServer | the resource server to where the given resource belongs to |
| owner | the owner of this resource or null if the resource server is the owner |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| void org.keycloak.authorization.store.ResourceStore.delete | ( | String | id | ) |
Removes a Resource instance, with the given
from the persistent storage.
| id | the identifier of an existing resource instance |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| Resource org.keycloak.authorization.store.ResourceStore.findById | ( | String | id, |
| String | resourceServerId | ||
| ) |
Returns a Resource instance based on its identifier.
| id | the identifier of an existing resource instance |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| Resource org.keycloak.authorization.store.ResourceStore.findByName | ( | String | name, |
| String | resourceServerId | ||
| ) |
Find a Resource by its name where the owner is the resource server itself.
| name | the name of the resource |
| resourceServerId | the identifier of the resource server |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| Resource org.keycloak.authorization.store.ResourceStore.findByName | ( | String | name, |
| String | ownerId, | ||
| String | resourceServerId | ||
| ) |
Find a Resource by its name where the owner is the given ownerId.
| name | the name of the resource |
| ownerId | the owner id |
| resourceServerId | the identifier of the resource server |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| List<Resource> org.keycloak.authorization.store.ResourceStore.findByOwner | ( | String | ownerId, |
| String | resourceServerId | ||
| ) |
Finds all Resource instances with the given
.
| ownerId | the identifier of the owner |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| void org.keycloak.authorization.store.ResourceStore.findByOwner | ( | String | ownerId, |
| String | resourceServerId, | ||
| Consumer< Resource > | consumer | ||
| ) |
| List<Resource> org.keycloak.authorization.store.ResourceStore.findByResourceServer | ( | String | resourceServerId | ) |
Finds all Resource instances associated with a given resource server.
| resourceServerId | the identifier of the resource server |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| List<Resource> org.keycloak.authorization.store.ResourceStore.findByResourceServer | ( | Map< String, String[]> | attributes, |
| String | resourceServerId, | ||
| int | firstResult, | ||
| int | maxResult | ||
| ) |
Finds all Resource instances associated with a given resource server.
| attributes | a map holding the attributes that will be used as a filter |
| resourceServerId | the identifier of the resource server |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| List<Resource> org.keycloak.authorization.store.ResourceStore.findByScope | ( | List< String > | id, |
| String | resourceServerId | ||
| ) |
Finds all Resource associated with a given scope.
| id | one or more scope identifiers |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| void org.keycloak.authorization.store.ResourceStore.findByScope | ( | List< String > | scopes, |
| String | resourceServerId, | ||
| Consumer< Resource > | consumer | ||
| ) |
| List<Resource> org.keycloak.authorization.store.ResourceStore.findByType | ( | String | type, |
| String | resourceServerId | ||
| ) |
Finds all Resource with the given type.
| type | the type of the resource |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| void org.keycloak.authorization.store.ResourceStore.findByType | ( | String | type, |
| String | resourceServerId, | ||
| Consumer< Resource > | consumer | ||
| ) |
Finds all Resource with the given type.
| type | the type of the resource |
| resourceServerId | the resource server id |
| consumer | the result consumer |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
| List<Resource> org.keycloak.authorization.store.ResourceStore.findByUri | ( | String | uri, |
| String | resourceServerId | ||
| ) |
Finds all Resource instances with the given uri.
| uri | the identifier of the uri |
org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ResourceCache, org.keycloak.authorization.jpa.store.JPAResourceStoreで実装されています。
1.8.13