Class UserProfileTaskFactory
java.lang.Object
de.xima.fc.security.logic.profile.UserProfileTaskFactory
Factory for creating
user profile tasks. The tasks are only created and not executed.- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 IUserProfileTaskCreates 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 Details
-
changePrimaryEmail
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
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
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
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
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.
-