com.adobe.idp.um.spi.authentication
Interface IdentityCreator
public interface IdentityCreator
Method Summary |
AuthResponse |
create(UserProvisioningBO userBO)
It tries to create a user with the info provided in the UserProvisioningBO object. |
java.lang.String |
getName()
It returns the name of the Identity Creator by which it will be registered in preferences. |
create
AuthResponse create(UserProvisioningBO userBO)
- It tries to create a user with the info provided in the
UserProvisioningBO
object.
If user is successfully created then it should returns a valid AuthResponse with all user information by which the user is created.
It is responsibility of Identity Creator to set the User object in the credential map with key UMAuthenticationUtil.authenticatedUserKey
Credential is available in UserProvisioningBO
object by property name credentials.
In case Identity Creator is unable to create user due to any reason then it should return null
- Parameters:
userBO
- an object of com.adobe.idp.um.spi.authenticationUserProvisioningBO
- Returns:
getName
java.lang.String getName()
- It returns the name of the Identity Creator by which it will be registered in preferences.
This name will be used to associate the Identity Provider to Auth Provider Config in domain.
- Returns:
- the name of this Identity Creator by which it is recognized in Configuration.