|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LDAPDirectory
Contains methods specific to LDAP direcotories.
Method Summary | ||
---|---|---|
|
findEntityByDN(String dn,
Class<T> entityClass)
Finds a directory entity (principal, group or role) by their distinguished name. |
Methods inherited from interface com.atlassian.crowd.integration.directory.RemoteDirectory |
---|
addGroup, addGroupToGroup, addUser, addUserToGroup, authenticate, findGroupByName, findGroupWithAttributesByName, findUserByName, findUserWithAttributesByName, getDescriptiveName, getDirectoryId, isGroupDirectGroupMember, isUserDirectGroupMember, removeGroup, removeGroupAttributes, removeGroupFromGroup, removeUser, removeUserAttributes, removeUserFromGroup, renameGroup, renameUser, searchGroupRelationships, searchGroups, searchUsers, setAttributes, setDirectoryId, storeGroupAttributes, storeUserAttributes, supportsNestedGroups, testConnection, updateGroup, updateUser, updateUserCredential |
Methods inherited from interface com.atlassian.crowd.integration.model.AttributeAware |
---|
getAttribute, getAttributeNames, getAttributes, hasAttribute |
Method Detail |
---|
<T extends LDAPDirectoryEntity> T findEntityByDN(String dn, Class<T> entityClass) throws ObjectNotFoundException
dn
- standardised disinguished name.entityClass
- class of the entity to find (either LDAPUserWithAttributes
or LDAPGroupWithAttributes
).
ObjectNotFoundException
- if a user/group
does not exist at the specified DN or the DN does not
exist in the directory. This will also be thrown if
the entity DOES exist but does not match the base DN
or object filter for the entity type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |