Class UserPasswordAttributeHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get​(UserModel model)
      Holds logic behind getter for dynamic attribute.
      void set​(UserModel model, java.lang.String password)
      Holds logic behind setter for dynamic attribute.
      void setUserService​(UserService userService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserPasswordAttributeHandler

        public UserPasswordAttributeHandler()
    • Method Detail

      • get

        public java.lang.String get​(UserModel model)
        Description copied from interface: DynamicAttributeHandler
        Holds logic behind getter for dynamic attribute.
        Specified by:
        get in interface DynamicAttributeHandler<java.lang.String,​UserModel>
        Parameters:
        model - model for which dynamic attribute is declared.
        Returns:
        computed value.
      • set

        public void set​(UserModel model,
                        java.lang.String password)
        Description copied from interface: DynamicAttributeHandler
        Holds logic behind setter for dynamic attribute.
        Specified by:
        set in interface DynamicAttributeHandler<java.lang.String,​UserModel>
        Parameters:
        model - model for which dynamic attribute is declared.
        password - the value which will be used by setter logic.
      • setUserService

        public void setUserService​(UserService userService)