Class UserProfileTaskFactory
- java.lang.Object
 - 
- de.xima.fc.security.logic.profile.UserProfileTaskFactory
 
 
- 
public class UserProfileTaskFactory extends Object
Factory for creatinguser profile tasks. The tasks are only created and not executed.- Since:
 - 8.0.1
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IUserEmailTaskchangePrimaryEmail(String token)Creates a task to change the primary email address of a user profile.static IUserProfileTaskmergeProfiles(String token)Creates a task to merge two user profiles.static IUserIdentityTaskremoveIdentity(String token)Creates a task to remove a user identity from a user profile.static IUserProfileTaskremoveMfa(String token)Creates a task to remove the user profile MFA config from a user profile and thereby disabling it.static IUserEmailTaskverifyEmail(String token)Creates a task to verify an email address of a user profile. 
 - 
 
- 
- 
Method Detail
- 
changePrimaryEmail
public static IUserEmailTask changePrimaryEmail(String token) throws RedirectException
Creates a task to change the primary email address of a user profile.- Parameters:
 token- for changing the primary user email. Thetokenneeds to be set within theuser email.- Returns:
 - a task to change the primary email address of a user profile.
 - Throws:
 RedirectException- if the task could not be created.
 
- 
verifyEmail
public static IUserEmailTask verifyEmail(String token) throws RedirectException
Creates a task to verify an email address of a user profile.- Parameters:
 token- for verifying a user email. Thetokenneeds to be set within theuser email.- Returns:
 - a task to verify a user email.
 - Throws:
 RedirectException- if the task could not be created.
 
- 
removeIdentity
public static IUserIdentityTask removeIdentity(String token) throws RedirectException
Creates a task to remove a user identity from a user profile.- Parameters:
 token- for removing a user identity. Thetokenneeds to be set within theuser identity.- Returns:
 - a task to remove a user identity.
 - Throws:
 RedirectException- if the task could not be created.
 
- 
removeMfa
public static IUserProfileTask removeMfa(String token) throws RedirectException
Creates a task to remove the user profile MFA config from a user profile and thereby disabling it.- Parameters:
 token- for removing the user profile MFA config. Thetokenneeds to be set within theuser profile MFA config.- Returns:
 - a task to remove the user profile MFA config.
 - Throws:
 RedirectException- if the task could not be created.
 
- 
mergeProfiles
public static IUserProfileTask mergeProfiles(String token) throws RedirectException
Creates a task to merge two user profiles.- Parameters:
 token- for merging the two user profiles. Thetokenneeds to be set within theuser profile.- Returns:
 - a task to merge two user profiles.
 - Throws:
 RedirectException- if the task could not be created.
 
 - 
 
 -