com.atlassian.crowd.integration.directory.connector
Class ApacheDS15

java.lang.Object
  extended by com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
      extended by com.atlassian.crowd.integration.directory.connector.ApacheDS
          extended by com.atlassian.crowd.integration.directory.connector.ApacheDS15
All Implemented Interfaces:
LDAPDirectory, ListeningCapable, MonitorCapable, RemoteDirectory

public class ApacheDS15
extends ApacheDS
implements ListeningCapable


Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
attributes, DEFAULT_PAGE_SIZE, eventManager, ldapPropertiesMapper, ldapTemplate, logger, nameConverter, searchDN
 
Constructor Summary
ApacheDS15()
           
 
Method Summary
 void addChangeListener(ChangeListener changeListener)
           
protected  org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()
           
protected  java.lang.String getDefaultContainerMemberDN()
          ApacheDS 1.5.x requires a non-blank uniqueMember when adding a group.
 DirectoryListener getDirectoryMonitor()
          Return a configured DirectoryMonitor for the directory.
 java.lang.String getDirectoryType()
          Returns the name of the type of directory.
static java.lang.String getStaticDirectoryType()
           
 void removeChangeListener(ChangeListener changeListener)
           
 
Methods inherited from class com.atlassian.crowd.integration.directory.connector.ApacheDS
encodePassword, getNewPrincipalDirectorySpecificAttributes, removePrincipalFromGroup
 
Methods inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
addBlankSnToPrincipalAttributes, addContainerObject, addGroup, addGroupToGroup, addPrincipal, addPrincipalToGroup, addPrincipalToRole, addRole, addSnToPrincipalAttributes, authenticate, buildDN, buildFilter, findAllGroupMembers, findAllRoleMembers, findEntityByDN, findGroup, findGroupByDN, findGroupByName, findGroupByName, findGroupByNameUsingMembershipAttribute, findGroupMemberships, findPrincipal, findPrincipalByDN, findPrincipalByName, findRole, findRoleByDN, findRoleByName, findRoleMemberships, getAttributes, getAuthenticationName, getBaseEnvironmentProperties, getContextSource, getDirectorySpecificMemberParser, getEncoder, getEntityContextMapper, getGroupContextMapper, getGroupPopulateMembersType, getGroupRelationshipContextMapper, getID, getLdapPropertiesMapper, getMemberFilter, getNewContainerDirectorySpecificAttributes, getNewPrincipalAttributes, getPassword, getPrincipalContextMapper, getRoleContextMapper, getRolePopulateMembersType, getSearchDN, getSubTreeSearchControl, isDirectGroupMember, isDirectMember, isGroupMember, isGroupMember, isNestedMember, isRoleMember, pageResults, pageSearchResults, pageSearchResults, removeGroup, removeGroupFromGroup, removePrincipal, removePrincipalFromRole, removeRole, searchGroupRelationships, searchGroups, searchGroups, searchGroupsInternal, searchPrincipals, searchPrincipals, searchRoles, setAttributes, setEventManager, setID, setLdapPropertiesMapper, supportsNestedGroups, surroundWithAsterisks, testConnection, throwIREIfRolesDisabled, throwONFEIfRolesDisabled, updateGroup, updatePrincipal, updatePrincipalCredential, updateRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheDS15

public ApacheDS15()
Method Detail

getStaticDirectoryType

public static java.lang.String getStaticDirectoryType()

getDirectoryType

public java.lang.String getDirectoryType()
Description copied from interface: RemoteDirectory
Returns the name of the type of directory.

Specified by:
getDirectoryType in interface RemoteDirectory
Overrides:
getDirectoryType in class ApacheDS
Returns:
directory type.

getDefaultContainerMemberDN

protected java.lang.String getDefaultContainerMemberDN()
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:
getDefaultContainerMemberDN in class SpringLDAPConnector
Returns:
bind user DN.

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.