gluu
公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.service.external.ExternalIdGeneratorService クラス
org.gluu.oxtrust.service.external.ExternalIdGeneratorService の継承関係図
Inheritance graph
org.gluu.oxtrust.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.gluu.oxtrust.service.external.ExternalIdGeneratorService.ExternalIdGeneratorService ( )
inline
31  {
32  super(CustomScriptType.ID_GENERATOR);
33  }

関数詳解

◆ executeExternalDefaultGenerateIdMethod()

String org.gluu.oxtrust.service.external.ExternalIdGeneratorService.executeExternalDefaultGenerateIdMethod ( String  appId,
String  idType,
String  idPrefix 
)
inline
49  {
50  return executeExternalGenerateIdMethod(this.defaultExternalCustomScript, appId, idType, idPrefix);
51  }
String executeExternalGenerateIdMethod(CustomScriptConfiguration customScriptConfiguration, String appId, String idType, String idPrefix)
Definition: ExternalIdGeneratorService.java:35

◆ executeExternalGenerateIdMethod()

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

メンバ詳解

◆ serialVersionUID

final long org.gluu.oxtrust.service.external.ExternalIdGeneratorService.serialVersionUID = 1727751544454591273L
staticprivate

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