Interface IdentityFactory


public interface IdentityFactory
Factory that helps with the creation of Identity instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(SSOToken token, UniversalId universalId)
    Retrieves an instance of Identity bound to the passed token and universal id.
  • Method Details

    • create

      Identity create(SSOToken token, UniversalId universalId)
      Retrieves an instance of Identity 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 identity
      universalId - the universal id to create an identity instance for
      Returns:
      a non-null instance of the service