com.atlassian.crowd.embedded.api.Attributes |
![]() |
Represents attributes that can be associated to users and groups. One attribute key can have multiple values associated to it.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets all the keys of the attributes.
| |||||||||||
Returns any value associated with the given key, returns
null if there is no value. | |||||||||||
Get all the values associated with a given key.
| |||||||||||
Gets all the keys of the attributes. Warning: case-insensitive keys are currently no enforced, however this is the case for LDAP, so this may be implemented in the future.
Returns any value associated with the given key, returns null
if there is no value.
key | the key to retrieve the value for |
---|
null
if there is no value
Get all the values associated with a given key. Duplicate values are not allowed, and this should be enforced case-insensitively to match the behaviour of LDAP servers. Will return null if the key does not exist.
key | the key to retrieve the values for |
---|
true
if there are no attributes