クラス PublicSubjectIdentifierTypeDefinition
- java.lang.Object
-
- org.iplass.mtp.auth.oauth.definition.SubjectIdentifierTypeDefinition
-
- org.iplass.mtp.auth.oauth.definition.subtypes.PublicSubjectIdentifierTypeDefinition
-
- すべての実装されたインタフェース:
java.io.Serializable
public class PublicSubjectIdentifierTypeDefinition extends SubjectIdentifierTypeDefinition
すべてのclientに共通のsubjectIdを返すSubjectIdentifierType定義です。 subjectIdとしてUserのプロパティ(oidやaccountIdなど)を利用可能ですが、 外部にその値を公開したくない場合はその値をハッシュするように設定することも可能です。- 関連項目:
- 直列化された形式
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 PublicSubjectIdentifierTypeDefinition()
-
メソッドの概要
修飾子とタイプ メソッド 説明 java.lang.StringgetSubjectIdMappedUserProperty()booleanisHashing()voidsetHashing(boolean hashing)Userエンティティのプロパティ値のハッシュ値を公開する場合、trueを設定します。voidsetSubjectIdMappedUserProperty(java.lang.String subjectIdMappedUserProperty)公開用のsubjectIdとするUserエンティティのプロパティを指定します。
-
-
-
メソッドの詳細
-
isHashing
public boolean isHashing()
-
setHashing
public void setHashing(boolean hashing)
Userエンティティのプロパティ値のハッシュ値を公開する場合、trueを設定します。- パラメータ:
hashing-
-
getSubjectIdMappedUserProperty
public java.lang.String getSubjectIdMappedUserProperty()
-
setSubjectIdMappedUserProperty
public void setSubjectIdMappedUserProperty(java.lang.String subjectIdMappedUserProperty)
公開用のsubjectIdとするUserエンティティのプロパティを指定します。 当該プロパティの値はユーザ単位にユニークである必要があります。- パラメータ:
subjectIdMappedUserProperty-
-
-