Class PublicSubjectIdentifierTypeDefinition
java.lang.Object
org.iplass.mtp.auth.oauth.definition.SubjectIdentifierTypeDefinition
org.iplass.mtp.auth.oauth.definition.subtypes.PublicSubjectIdentifierTypeDefinition
- All Implemented Interfaces:
java.io.Serializable
public class PublicSubjectIdentifierTypeDefinition extends SubjectIdentifierTypeDefinition
すべてのclientに共通のsubjectIdを返すSubjectIdentifierType定義です。
subjectIdとしてUserのプロパティ(oidやaccountIdなど)を利用可能ですが、
外部にその値を公開したくない場合はその値をハッシュするように設定することも可能です。
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PublicSubjectIdentifierTypeDefinition() -
Method Summary
Modifier and Type Method Description java.lang.StringgetSubjectIdMappedUserProperty()booleanisHashing()voidsetHashing(boolean hashing)Userエンティティのプロパティ値のハッシュ値を公開する場合、trueを設定します。voidsetSubjectIdMappedUserProperty(java.lang.String subjectIdMappedUserProperty)公開用のsubjectIdとするUserエンティティのプロパティを指定します。 当該プロパティの値はユーザ単位にユニークである必要があります。
-
Constructor Details
-
PublicSubjectIdentifierTypeDefinition
public PublicSubjectIdentifierTypeDefinition()
-
-
Method Details
-
isHashing
public boolean isHashing() -
setHashing
public void setHashing(boolean hashing)Userエンティティのプロパティ値のハッシュ値を公開する場合、trueを設定します。- Parameters:
hashing-
-
getSubjectIdMappedUserProperty
public java.lang.String getSubjectIdMappedUserProperty() -
setSubjectIdMappedUserProperty
public void setSubjectIdMappedUserProperty(java.lang.String subjectIdMappedUserProperty)公開用のsubjectIdとするUserエンティティのプロパティを指定します。 当該プロパティの値はユーザ単位にユニークである必要があります。- Parameters:
subjectIdMappedUserProperty-
-