Class PasswordActionHelper


  • public class PasswordActionHelper
    extends Object
    Helper class for password actions
    • Constructor Detail

      • PasswordActionHelper

        public PasswordActionHelper()
    • Method Detail

      • setAtRegistration

        public static void setAtRegistration​(ProductDTO dto,
                                             PasswordType passwordType)
        Finds and marks the given password type at registration
      • setMyPasswordActions

        public static void setMyPasswordActions​(ProductDTO dto,
                                                PasswordType passwordTypeAtRegistration)
        Enables my password actions for the given product
        Parameters:
        passwordTypeAtRegistration - the type to be marked at registration
      • setPasswordAction

        public static void setPasswordAction​(ProductPasswordActionDTO action,
                                             boolean set)
        Enables or disables all the possible actions of the given password action
      • setPasswordActions

        public static void setPasswordActions​(Collection<? extends ProductPasswordActionDTO> actions,
                                              boolean set)
        Enables or disables all the possible actions of the given password actions collection
      • setUserPasswordActions

        public static void setUserPasswordActions​(UserManagementProductDTO dto)
        Enables user management password actions for the given product