Package pl.edu.icm.unity.stdext.identity
Class UsernameIdentity
java.lang.Object
pl.edu.icm.unity.stdext.identity.AbstractIdentityTypeProvider
pl.edu.icm.unity.stdext.identity.AbstractStaticIdentityTypeProvider
pl.edu.icm.unity.stdext.identity.UsernameIdentity
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition
Simple username identity type definition
- Author:
- K. Benedyczak
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpl.edu.icm.unity.base.identity.IdentityParamconvertFromString(String stringRepresentation, String remoteIdp, String translationProfile) getComparableValue(String from, String realm, String target) getHumanFriendlyDescription(pl.edu.icm.unity.base.message.MessageSource msg) getHumanFriendlyName(pl.edu.icm.unity.base.message.MessageSource msg) getId()booleantoPrettyStringNoPrefix(pl.edu.icm.unity.base.identity.IdentityParam from) voidMethods inherited from class pl.edu.icm.unity.stdext.identity.AbstractStaticIdentityTypeProvider
createNewIdentity, isEmailVerifiable, isExpired, isTargeted, isUserSettableMethods inherited from class pl.edu.icm.unity.stdext.identity.AbstractIdentityTypeProvider
equals, hashCode, isRemovable, toHumanFriendlyString, toPrettyString, toString, toString
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
UsernameIdentity
public UsernameIdentity()
-
-
Method Details
-
getId
-
getDefaultDescriptionKey
-
validate
-
convertFromString
public pl.edu.icm.unity.base.identity.IdentityParam convertFromString(String stringRepresentation, String remoteIdp, String translationProfile) throws pl.edu.icm.unity.base.identity.IllegalIdentityValueException - Specified by:
convertFromStringin interfacepl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition- Overrides:
convertFromStringin classAbstractIdentityTypeProvider- Throws:
pl.edu.icm.unity.base.identity.IllegalIdentityValueException
-
getComparableValue
-
toPrettyStringNoPrefix
-
getHumanFriendlyDescription
-
isDynamic
public boolean isDynamic()- Specified by:
isDynamicin interfacepl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition- Overrides:
isDynamicin classAbstractStaticIdentityTypeProvider
-
getHumanFriendlyName
-