public class DefaultUserDetailsManager extends Object implements UserDetailsManager
Constructor and Description |
---|
DefaultUserDetailsManager(ContentPropertyManager contentPropertyManager,
PersonalInformationManager personalInformationManager) |
Modifier and Type | Method and Description |
---|---|
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(com.atlassian.user.User user,
String key)
Retrieve user property for a specified user.
|
void |
removeProperty(com.atlassian.user.User user,
String key)
Removes the property associated with the user
|
void |
setStringProperty(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.
|
public DefaultUserDetailsManager(ContentPropertyManager contentPropertyManager, PersonalInformationManager personalInformationManager)
public String getStringProperty(com.atlassian.user.User user, String key)
UserDetailsManager
getStringProperty
in interface UserDetailsManager
user
- the user the property is associated withkey
- the key of the property to retrievepublic void setStringProperty(com.atlassian.user.User user, String key, String value)
UserDetailsManager
setStringProperty
in interface UserDetailsManager
user
- the user the property is associated withkey
- the key of the property to setvalue
- the new value of the propertypublic void removeProperty(com.atlassian.user.User user, String key)
UserDetailsManager
removeProperty
in interface UserDetailsManager
user
- the user the property is associated withkey
- the key of the property to removepublic List<String> getProfileKeys(String groupKey)
UserDetailsManager
getProfileKeys
in interface UserDetailsManager
public List<String> getProfileGroups()
UserDetailsManager
getProfileGroups
in interface UserDetailsManager
Copyright © 2003–2015 Atlassian. All rights reserved.