Class UserProfileSecurityPanelBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @ViewScoped
    public class UserProfileSecurityPanelBean
    extends Object
    implements Serializable
    Bean for displaying and modifying a user profile's security settings.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • UserProfileSecurityPanelBean

        public UserProfileSecurityPanelBean()
    • Method Detail

      • getNewClearTextPassword

        public String getNewClearTextPassword()
      • isCredentialsOptionAvailable

        public boolean isCredentialsOptionAvailable()
      • isShowNewPassword

        public boolean isShowNewPassword​(UserProfile profile)
      • isShowAdminOptions

        public boolean isShowAdminOptions​(UserProfile profile)
      • isShowTotpDetails

        public boolean isShowTotpDetails​(UserProfile profile)
      • getNextAuthenticationDate

        public Date getNextAuthenticationDate​(Instant lastAuthInstant)
      • canUserCredentialsBeDeleted

        public boolean canUserCredentialsBeDeleted​(UserProfile profile)
      • removeUserCredentials

        public void removeUserCredentials​(UserProfile profile,
                                          Runnable profileUpdatedCallback)
      • generateNewPassword

        public void generateNewPassword​(UserProfile profile)
      • clearNewPassword

        public void clearNewPassword()
      • sendUserCredentialsSetMail

        public void sendUserCredentialsSetMail​(UserProfile profile,
                                               Runnable profileUpdatedCallback)
      • removeLasAuthenticationInstant

        public void removeLasAuthenticationInstant​(UserProfile profile,
                                                   Runnable profileUpdatedCallback)
      • handleMfaTypeChange

        public void handleMfaTypeChange​(UserProfile profile,
                                        Runnable profileUpdatedCallback,
                                        boolean adminOption)
      • sendMfaRegistrationMail

        public void sendMfaRegistrationMail​(UserProfile profile,
                                            Runnable profileUpdatedCallback)
      • sendMfaRemovalRequestMail

        public void sendMfaRemovalRequestMail​(UserProfile profile,
                                              Runnable profileUpdatedCallback)