Interface IdentityFactory
-
public interface IdentityFactory
Factory that helps with the creation ofIdentity
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Identity
create(SSOToken token, UniversalId universalId)
Retrieves an instance ofIdentity
bound to the passed token and universal id.
-
-
-
Method Detail
-
create
Identity create(SSOToken token, UniversalId universalId)
Retrieves an instance ofIdentity
bound to the passed token and universal id. Note that this does not interact with the identity store, and makes no guarantees that the associated identity exists.- Parameters:
token
- the SSO token to use to interact with the created identityuniversalId
- the universal id to create an identity instance for- Returns:
- a non-null instance of the service
-
-