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 IUserEmailTask
changePrimaryEmail
(String token) Creates a task to change the primary email address of a user profile.static IUserProfileTask
mergeProfiles
(String token) Creates a task to merge two user profiles.static IUserIdentityTask
removeIdentity
(String token) Creates a task to remove a user identity from a user profile.static IUserProfileTask
Creates a task to remove the user profile MFA config from a user profile and thereby disabling it.static IUserEmailTask
verifyEmail
(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. Thetoken
needs 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. Thetoken
needs 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. Thetoken
needs 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. Thetoken
needs 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. Thetoken
needs to be set within theuser profile
.- Returns:
- a task to merge two user profiles.
- Throws:
RedirectException
- if the task could not be created.
-