Package com.atlassian.confluence.user
Class DefaultUserDetailsManager
- java.lang.Object
 - 
- com.atlassian.confluence.user.DefaultUserDetailsManager
 
 
- 
- All Implemented Interfaces:
 UserDetailsManager
public class DefaultUserDetailsManager extends Object implements UserDetailsManager
 
- 
- 
Constructor Summary
Constructors Constructor Description DefaultUserDetailsManager(ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getProfileGroups()Get the list of profile information groupsList<String>getProfileKeys(String groupKey)Gets a list of keys for each property stored against a userStringgetStringProperty(com.atlassian.user.User user, String key)Retrieve user property for a specified user.voidremoveProperty(com.atlassian.user.User user, String key)Removes the property associated with the uservoidsetStringProperty(com.atlassian.user.User user, String key, String value)Stores a string < 255 chars in a property with the given key against a specified user. 
 - 
 
- 
- 
Constructor Detail
- 
DefaultUserDetailsManager
public DefaultUserDetailsManager(ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager)
 
 - 
 
- 
Method Detail
- 
getStringProperty
public String getStringProperty(com.atlassian.user.User user, String key)
Description copied from interface:UserDetailsManagerRetrieve user property for a specified user.- Specified by:
 getStringPropertyin interfaceUserDetailsManager- Parameters:
 user- the user the property is associated withkey- 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:UserDetailsManagerStores a string < 255 chars in a property with the given key against a specified user.- Specified by:
 setStringPropertyin interfaceUserDetailsManager- Parameters:
 user- the user the property is associated withkey- the key of the property to setvalue- the new value of the property
 
- 
removeProperty
public void removeProperty(com.atlassian.user.User user, String key)Description copied from interface:UserDetailsManagerRemoves the property associated with the user- Specified by:
 removePropertyin interfaceUserDetailsManager- Parameters:
 user- the user the property is associated withkey- the key of the property to remove
 
- 
getProfileKeys
public List<String> getProfileKeys(String groupKey)
Description copied from interface:UserDetailsManagerGets a list of keys for each property stored against a user- Specified by:
 getProfileKeysin interfaceUserDetailsManager- Returns:
 - list of properties
 
 
- 
getProfileGroups
public List<String> getProfileGroups()
Description copied from interface:UserDetailsManagerGet the list of profile information groups- Specified by:
 getProfileGroupsin interfaceUserDetailsManager
 
 - 
 
 -