Class IdentifiedIdentity
java.lang.Object
org.forgerock.openam.auth.node.api.IdentifiedIdentity
Simple class that captures the username and identityType of an identity.
Creation of an identified identity indicates the identity has been confirmed to exist.
Note that there are many ways of identifying an identity through a journey and the presence of an
IdentifiedIdentity is not evidence that sufficient authentication has taken place.
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifiedIdentity(String username, IdType identityType) Create an instance ofIdentifiedIdentitywith the given username and identityType. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the identityType for thisIdentifiedIdentityinstance.Retrieves the username for thisIdentifiedIdentityinstance.
-
Constructor Details
-
IdentifiedIdentity
Create an instance ofIdentifiedIdentitywith the given username and identityType.Creation of an identified identity indicates the identity has been confirmed to exist.
- Parameters:
username- A non-null String denoting the username of the identified identity.identityType- A non-null String denoting the type of the identity.
-
-
Method Details
-
getUsername
Retrieves the username for thisIdentifiedIdentityinstance.- Returns:
- The username for this instance.
-
getIdentityType
Retrieves the identityType for thisIdentifiedIdentityinstance.- Returns:
- The identityType for this instance.
-