com.atlassian.crowd.integration.directory.connector
Class OpenLDAP
java.lang.Object
com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
com.atlassian.crowd.integration.directory.connector.RFC4519Directory
com.atlassian.crowd.integration.directory.connector.OpenLDAP
- All Implemented Interfaces:
- LDAPDirectory, RemoteDirectory, AttributeAware, org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
- GenericLDAP
public class OpenLDAP
- extends RFC4519Directory
Fields inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector |
applicationContext, attributes, contextSource, DEFAULT_PAGE_SIZE, eventManager, ldapPropertiesMapper, ldapQueryTranslater, ldapTemplate, logger, nameConverter, searchDN |
Methods inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector |
addDefaultSnToUserAttributes, addDefaultValueToUserAttributesForAttribute, addGroup, addUser, asLdapName, authenticate, findEntityByDN, findEntityByDN, findGroupByName, findGroupByNameAndType, findGroupWithAttributesByName, findUserByName, findUserWithAttributesByName, getAttribute, getAttributeAsBoolean, getAttributeAsLong, getAttributeNames, getAttributes, getBaseEnvironmentProperties, getContextSource, getDirectoryId, getEncoder, getGroupContextMapper, getInitialGroupMemberDN, getLdapPropertiesMapper, getNewGroupAttributes, getNewGroupDirectorySpecificAttributes, getNewUserAttributes, getSearchDN, getStandardisedDN, getSubTreeSearchControl, getUserContextMapper, hasAttribute, pageSearchResults, removeGroup, removeGroupAttributes, removeUser, removeUserAttributes, renameGroup, renameUser, searchEntities, searchEntitiesWithRequestControls, searchGroupObjects, searchGroupObjectsOfSpecifiedGroupType, searchGroupRelationships, searchGroups, searchUserObjects, searchUsers, setApplicationContext, setAttributes, setDirectoryId, setEventManager, setLdapQueryTranslater, storeGroupAttributes, storeUserAttributes, supportsNestedGroups, testConnection, updateGroup, updateUser, updateUserCredential |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenLDAP
public OpenLDAP()
getStaticDirectoryType
public static String getStaticDirectoryType()
getDescriptiveName
public String getDescriptiveName()
- Description copied from interface:
RemoteDirectory
- Returns a descriptive name for the type of directory.
- Returns:
- descriptive name.
encodePassword
protected String encodePassword(String unencodedPassword)
- Translates a clear-text password into an encrypted one, based on the directory settings.
- Specified by:
encodePassword
in class SpringLDAPConnector
- Parameters:
unencodedPassword
- password
- Returns:
- encoded password
getNewUserDirectorySpecificAttributes
protected void getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
- OpenLDAP 2.3.35 in a default install requires the sn to be set before a user can be created.
- Overrides:
getNewUserDirectorySpecificAttributes
in class SpringLDAPConnector
- Parameters:
user
- userattributes
- directory attributes
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.