keycloak-service
公開メンバ関数 | 全メンバ一覧
org.keycloak.partialimport.PartialImport< T > インタフェーステンプレート
org.keycloak.partialimport.PartialImport< T > の継承関係図
Inheritance graph
org.keycloak.partialimport.PartialImport< T > 連携図
Collaboration graph

公開メンバ関数

void prepare (PartialImportRepresentation rep, RealmModel realm, KeycloakSession session) throws ErrorResponseException
 
void removeOverwrites (RealmModel realm, KeycloakSession session)
 
PartialImportResults doImport (PartialImportRepresentation rep, RealmModel realm, KeycloakSession session) throws ErrorResponseException
 

詳解

Main interface for PartialImport handlers.

著者
Stan Silvert ssilv.nosp@m.ert@.nosp@m.redha.nosp@m.t.co.nosp@m.m (C) 2016 Red Hat Inc.

関数詳解

◆ doImport()

PartialImportResults org.keycloak.partialimport.PartialImport< T >.doImport ( PartialImportRepresentation  rep,
RealmModel  realm,
KeycloakSession  session 
) throws ErrorResponseException

Create (or re-create) all the imported resources.

引数
repEverything in the PartialImport request.
realmRealm to be imported into.
sessionThe KeycloakSession.
戻り値
The final results of the PartialImport request.
例外
ErrorResponseExceptionif an error was detected trying to doImport a resource.

org.keycloak.partialimport.AbstractPartialImport< T >で実装されています。

◆ prepare()

void org.keycloak.partialimport.PartialImport< T >.prepare ( PartialImportRepresentation  rep,
RealmModel  realm,
KeycloakSession  session 
) throws ErrorResponseException

Find which resources will need to be skipped or overwritten. Also, do a preliminary check for errors.

引数
repEverything in the PartialImport request.
realmRealm to be imported into.
sessionThe KeycloakSession.
例外
ErrorResponseExceptionIf the PartialImport can not be performed, throw this exception.

org.keycloak.partialimport.AbstractPartialImport< T >で実装されています。

◆ removeOverwrites()

void org.keycloak.partialimport.PartialImport< T >.removeOverwrites ( RealmModel  realm,
KeycloakSession  session 
)

Delete resources that will be overwritten. This is done separately so that it can be called for all resource types before calling all the doImports.

It was found that doing delete/add per resource causes errors because of cascading deletes.

引数
realmRealm to be imported into.
sessionThe KeycloakSession

org.keycloak.partialimport.AbstractPartialImport< T >で実装されています。


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