Class DefaultUserDetailsManager

    • Method Detail

      • getStringProperty

        public String getStringProperty​(com.atlassian.user.User user,
                                        String key)
        Description copied from interface: UserDetailsManager
        Retrieve user property for a specified user.
        Specified by:
        getStringProperty in interface UserDetailsManager
        Parameters:
        user - the user the property is associated with
        key - the key of the property to retrieve
        Returns:
        user property string (< 255 chars)
      • setStringProperty

        public void setStringProperty​(com.atlassian.user.User user,
                                      String key,
                                      String value)
        Description copied from interface: UserDetailsManager
        Stores a string < 255 chars in a property with the given key against a specified user.
        Specified by:
        setStringProperty in interface UserDetailsManager
        Parameters:
        user - the user the property is associated with
        key - the key of the property to set
        value - the new value of the property
      • removeProperty

        public void removeProperty​(com.atlassian.user.User user,
                                   String key)
        Description copied from interface: UserDetailsManager
        Removes the property associated with the user
        Specified by:
        removeProperty in interface UserDetailsManager
        Parameters:
        user - the user the property is associated with
        key - the key of the property to remove