|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.directory.ldap.mapper.attribute.ObjectSIDMapper
public class ObjectSIDMapper
Maps the primaryGroupId of a user. This concept only applies to Active Directory.
| Field Summary | |
|---|---|
static String |
ATTRIBUTE_KEY
Object SID attribute name. |
| Constructor Summary | |
|---|---|
ObjectSIDMapper()
|
|
| Method Summary | |
|---|---|
String |
getKey()
Get the key to use when storing the attribute on an entity with Attributes. |
Set<String> |
getRequiredLdapAttributes()
Returns the LDAP attributes that should be requested in a search where AttributeMapper.getValues(DirContextAdapter) will
be called on the results. |
Set<String> |
getValues(org.springframework.ldap.core.DirContextAdapter ctx)
Map the value of the key from the directory context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTRIBUTE_KEY
| Constructor Detail |
|---|
public ObjectSIDMapper()
| Method Detail |
|---|
public String getKey()
AttributeMapperAttributes.
getKey in interface AttributeMapper
public Set<String> getValues(org.springframework.ldap.core.DirContextAdapter ctx)
throws Exception
AttributeMapper
getValues in interface AttributeMapperctx - directory context containing attributes.
Exception - error retrieving value. The attribute will not be set.public Set<String> getRequiredLdapAttributes()
AttributeMapperAttributeMapper.getValues(DirContextAdapter) will
be called on the results. If an implementation returns null then all attributes will
be requested.
getRequiredLdapAttributes in interface AttributeMappernull for all
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||