|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.directory.ldap.mapper.attribute.RFC2307GidNumberMapper
public class RFC2307GidNumberMapper
Field Summary | |
---|---|
static String |
ATTRIBUTE_KEY
|
Constructor Summary | |
---|---|
RFC2307GidNumberMapper()
|
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 RFC2307GidNumberMapper()
Method Detail |
---|
public String getKey()
AttributeMapper
Attributes
.
getKey
in interface AttributeMapper
public Set<String> getValues(org.springframework.ldap.core.DirContextAdapter ctx) throws Exception
AttributeMapper
getValues
in interface AttributeMapper
ctx
- directory context containing attributes.
Exception
- error retrieving value. The attribute will not be set.public Set<String> getRequiredLdapAttributes()
AttributeMapper
AttributeMapper.getValues(DirContextAdapter)
will
be called on the results. If an implementation returns null
then all attributes will
be requested.
getRequiredLdapAttributes
in interface AttributeMapper
null
for all
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |