public class

DefaultUserDetailsManager

extends Object
implements UserDetailsManager
java.lang.Object
   ↳ com.atlassian.confluence.user.DefaultUserDetailsManager

Summary

Public Constructors
DefaultUserDetailsManager(ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager)
Public Methods
List<String> getProfileGroups()
Get the list of profile information groups
List<String> getProfileKeys(String groupKey)
Gets a list of keys for each property stored against a user
String getStringProperty(User user, String key)
Retrieve user property for a specified user.
void removeProperty(User user, String key)
Removes the property associated with the user
void setStringProperty(User user, String key, String value)
Stores a string
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.user.UserDetailsManager

Public Constructors

public DefaultUserDetailsManager (ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager)

Public Methods

public List<String> getProfileGroups ()

Get the list of profile information groups

public List<String> getProfileKeys (String groupKey)

Gets a list of keys for each property stored against a user

Returns
  • list of properties

public String getStringProperty (User user, String key)

Retrieve user property for a specified user.

Parameters
user the user the property is associated with
key the key of the property to retrieve
Returns
  • user property string (

public void removeProperty (User user, String key)

Removes the property associated with the user

Parameters
user the user the property is associated with
key the key of the property to remove

public void setStringProperty (User user, String key, String value)

Stores a string

Parameters
user the user the property is associated with
key the key of the property to set
value the new value of the property