gluu
公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
org.xdi.oxauth.service.external.ExternalIdGeneratorService クラス
org.xdi.oxauth.service.external.ExternalIdGeneratorService の継承関係図
Inheritance graph
org.xdi.oxauth.service.external.ExternalIdGeneratorService 連携図
Collaboration graph

公開メンバ関数

 ExternalIdGeneratorService ()
 
String executeExternalGenerateIdMethod (CustomScriptConfiguration customScriptConfiguration, String appId, String idType, String idPrefix)
 
String executeExternalDefaultGenerateIdMethod (String appId, String idType, String idPrefix)
 

静的非公開変数類

static final long serialVersionUID = 1727751544454591273L
 

詳解

Provides factory methods needed to create external id generator extension

著者
Yuriy Movchan Date: 01/16/2015

構築子と解体子

◆ ExternalIdGeneratorService()

org.xdi.oxauth.service.external.ExternalIdGeneratorService.ExternalIdGeneratorService ( )
inline
33  {
34  super(CustomScriptType.ID_GENERATOR);
35  }

関数詳解

◆ executeExternalDefaultGenerateIdMethod()

String org.xdi.oxauth.service.external.ExternalIdGeneratorService.executeExternalDefaultGenerateIdMethod ( String  appId,
String  idType,
String  idPrefix 
)
inline
51  {
52  return executeExternalGenerateIdMethod(this.defaultExternalCustomScript, appId, idType, idPrefix);
53  }
String executeExternalGenerateIdMethod(CustomScriptConfiguration customScriptConfiguration, String appId, String idType, String idPrefix)
Definition: ExternalIdGeneratorService.java:37

◆ executeExternalGenerateIdMethod()

String org.xdi.oxauth.service.external.ExternalIdGeneratorService.executeExternalGenerateIdMethod ( CustomScriptConfiguration  customScriptConfiguration,
String  appId,
String  idType,
String  idPrefix 
)
inline
37  {
38  try {
39  log.debug("Executing python 'generateId' method");
40  IdGeneratorType externalType = (IdGeneratorType) customScriptConfiguration.getExternalType();
41  Map<String, SimpleCustomProperty> configurationAttributes = customScriptConfiguration.getConfigurationAttributes();
42  return externalType.generateId(appId, idType, idPrefix, configurationAttributes);
43  } catch (Exception ex) {
44  log.error(ex.getMessage(), ex);
45  saveScriptError(customScriptConfiguration.getCustomScript(), ex);
46  }
47 
48  return null;
49  }

メンバ詳解

◆ serialVersionUID

final long org.xdi.oxauth.service.external.ExternalIdGeneratorService.serialVersionUID = 1727751544454591273L
staticprivate

このクラス詳解は次のファイルから抽出されました: