com.atlassian.crowd.integration.directory.connector
Class ApacheDS15
java.lang.Object
com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
com.atlassian.crowd.integration.directory.connector.RFC4519Directory
com.atlassian.crowd.integration.directory.connector.ApacheDS
com.atlassian.crowd.integration.directory.connector.ApacheDS15
- All Implemented Interfaces:
- LDAPDirectory, ListeningCapable, MonitorCapable, RemoteDirectory, AttributeAware, org.springframework.context.ApplicationContextAware
public class ApacheDS15
- extends ApacheDS
- implements ListeningCapable
| 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, 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 |
ApacheDS15
public ApacheDS15()
getStaticDirectoryType
public static java.lang.String getStaticDirectoryType()
getDescriptiveName
public java.lang.String getDescriptiveName()
- Description copied from interface:
RemoteDirectory
- Returns a descriptive name for the type of directory.
- Specified by:
getDescriptiveName in interface RemoteDirectory- Overrides:
getDescriptiveName in class ApacheDS
- Returns:
- descriptive name.
getInitialGroupMemberDN
protected java.lang.String getInitialGroupMemberDN()
- ApacheDS 1.5.x requires a non-blank uniqueMember when
adding a group. The bind user (usually the admin user)
is added as a member of the group.
- Overrides:
getInitialGroupMemberDN in class SpringLDAPConnector
- Returns:
- bind user DN.
getNewUserDirectorySpecificAttributes
protected void getNewUserDirectorySpecificAttributes(User user,
javax.naming.directory.Attributes attributes)
- ApacheDS in a default install requires the sn to be set before a user can be created.
- Overrides:
getNewUserDirectorySpecificAttributes in class ApacheDS
- Parameters:
user - user to addattributes - representing the user
createChangeListenerTemplate
protected org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()
addChangeListener
public void addChangeListener(ChangeListener changeListener)
removeChangeListener
public void removeChangeListener(ChangeListener changeListener)
getDirectoryMonitor
public DirectoryListener getDirectoryMonitor()
throws DirectoryMonitorCreationException
- Description copied from interface:
MonitorCapable
- Return a configured DirectoryMonitor
for the directory.
- Specified by:
getDirectoryMonitor in interface ListeningCapable- Specified by:
getDirectoryMonitor in interface MonitorCapable
- Returns:
- the DirectoryListener configured for this directory.
- Throws:
DirectoryMonitorCreationException - error creating listener.
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.