keycloak
公開メンバ関数 | 全メンバ一覧
org.keycloak.authorization.store.ScopeStore インタフェース
org.keycloak.authorization.store.ScopeStore の継承関係図
Inheritance graph
org.keycloak.authorization.store.ScopeStore 連携図
Collaboration graph

公開メンバ関数

Scope create (String name, ResourceServer resourceServer)
 
Scope create (String id, String name, ResourceServer resourceServer)
 
void delete (String id)
 
Scope findById (String id, String resourceServerId)
 
Scope findByName (String name, String resourceServerId)
 
List< ScopefindByResourceServer (String id)
 
List< ScopefindByResourceServer (Map< String, String[]> attributes, String resourceServerId, int firstResult, int maxResult)
 

詳解

A ScopeStore is responsible to manage the persistence of Scope instances.

著者
Pedro Igor

関数詳解

◆ create() [1/2]

Scope org.keycloak.authorization.store.ScopeStore.create ( String  name,
ResourceServer  resourceServer 
)

Creates a new Scope instance. The new instance is not necessarily persisted though, which may require a call to the {#save} method to actually make it persistent.

引数
namethe name of the scope
resourceServerthe resource server to which this scope belongs
戻り値
a new instance of Scope

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。

◆ create() [2/2]

Scope org.keycloak.authorization.store.ScopeStore.create ( String  id,
String  name,
ResourceServer  resourceServer 
)

Creates a new Scope instance. The new instance is not necessarily persisted though, which may require a call to the {#save} method to actually make it persistent.

引数
idthe id of the scope
namethe name of the scope
resourceServerthe resource server to which this scope belongs
戻り値
a new instance of Scope

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。

◆ delete()

void org.keycloak.authorization.store.ScopeStore.delete ( String  id)

Deletes a scope from the underlying persistence mechanism.

引数
idthe id of the scope to delete

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。

◆ findById()

Scope org.keycloak.authorization.store.ScopeStore.findById ( String  id,
String  resourceServerId 
)

Returns a Scope with the given id

引数
idthe identifier of the scope
resourceServerIdthe resource server id
戻り値
a scope with the given identifier.

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。

◆ findByName()

Scope org.keycloak.authorization.store.ScopeStore.findByName ( String  name,
String  resourceServerId 
)

Returns a Scope with the given name

引数
namethe name of the scope
resourceServerIdthe resource server id
戻り値
a scope with the given name.

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。

◆ findByResourceServer() [1/2]

List<Scope> org.keycloak.authorization.store.ScopeStore.findByResourceServer ( String  id)

Returns a list of Scope associated with a ResourceServer with the given resourceServerId.

引数
resourceServerIdthe identifier of a resource server
戻り値
a list of scopes that belong to the given resource server

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。

◆ findByResourceServer() [2/2]

List<Scope> org.keycloak.authorization.store.ScopeStore.findByResourceServer ( Map< String, String[]>  attributes,
String  resourceServerId,
int  firstResult,
int  maxResult 
)

Returns a list of Scope associated with a ResourceServer with the given resourceServerId.

引数
attributesa map holding the attributes that will be used as a filter
resourceServerIdthe identifier of a resource server
戻り値
a list of scopes that belong to the given resource server

org.keycloak.models.cache.infinispan.authorization.StoreFactoryCacheSession.ScopeCache, org.keycloak.authorization.jpa.store.JPAScopeStoreで実装されています。


このインタフェース詳解は次のファイルから抽出されました: