Package com.atlassian.confluence.user
Class DefaultUserDetailsManager
java.lang.Object
com.atlassian.confluence.user.DefaultUserDetailsManager
- All Implemented Interfaces:
UserDetailsManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultUserDetailsManager(ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager) -
Method Summary
Modifier and TypeMethodDescriptionGet the list of profile information groupsgetProfileKeys(String groupKey) Gets a list of keys for each property stored against a usergetStringProperty(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 Details
-
DefaultUserDetailsManager
public DefaultUserDetailsManager(ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager)
-
-
Method Details
-
getStringProperty
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
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
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
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
Description copied from interface:UserDetailsManagerGet the list of profile information groups- Specified by:
getProfileGroupsin interfaceUserDetailsManager
-