com.atlassian.crowd.directory
Class OpenDS

java.lang.Object
  extended by com.atlassian.crowd.directory.SpringLDAPConnector
      extended by com.atlassian.crowd.directory.RFC4519Directory
          extended by com.atlassian.crowd.directory.OpenLDAP
              extended by com.atlassian.crowd.directory.GenericLDAP
                  extended by com.atlassian.crowd.directory.OpenDS
All Implemented Interfaces:
LDAPDirectory, RemoteDirectory, Attributes

public class OpenDS
extends GenericLDAP


Field Summary
 
Fields inherited from class com.atlassian.crowd.directory.SpringLDAPConnector
attributes, contextSource, contextSourceTransactionManager, DEFAULT_PAGE_SIZE, eventPublisher, ldapPropertiesMapper, ldapQueryTranslater, ldapTemplate, nameConverter, searchDN
 
Constructor Summary
OpenDS(LDAPQueryTranslater ldapQueryTranslater, com.atlassian.event.api.EventPublisher eventPublisher, InstanceFactory instanceFactory, PasswordEncoderFactory passwordEncoderFactory)
           
 
Method Summary
protected  org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()
           
protected  String encodePassword(String unencodedPassword)
          Translates a clear-text password into an encrypted one, based on the directory settings.
 String getDescriptiveName()
          Returns a descriptive name for the type of directory.
static String getStaticDirectoryType()
           
 
Methods inherited from class com.atlassian.crowd.directory.OpenLDAP
getNewUserDirectorySpecificAttributes
 
Methods inherited from class com.atlassian.crowd.directory.RFC4519Directory
addGroupToGroup, addUserToGroup, findDirectMembersOfGroup, getCustomGroupAttributeMappers, getCustomUserAttributeMappers, getMemberDnMappers, getMemberships, isGroupDirectGroupMember, isUserDirectGroupMember, removeGroupFromGroup, removeUserFromGroup, searchGroupRelationshipsWithGroupTypeSpecified
 
Methods inherited from class com.atlassian.crowd.directory.SpringLDAPConnector
addDefaultSnToUserAttributes, addDefaultValueToUserAttributesForAttribute, addGroup, addUser, asLdapGroupName, asLdapName, asLdapUserName, authenticate, findEntityByDN, findEntityByDN, findGroupByName, findGroupByNameAndType, findGroupWithAttributesByName, findUserByName, findUserWithAttributesByName, getAttributeAsBoolean, getAttributeAsLong, getAuthoritativeDirectory, getBaseEnvironmentProperties, getContextSource, getDirectoryId, getGroupContextMapper, getInitialGroupMemberDN, getKeys, getLdapPropertiesMapper, getNewGroupAttributes, getNewGroupDirectorySpecificAttributes, getNewUserAttributes, getSearchDN, getStandardisedDN, getSubTreeSearchControls, getUserContextMapper, getValue, getValues, isEmpty, isRolesDisabled, pageSearchResults, postprocessGroups, removeGroup, removeGroupAttributes, removeUser, removeUserAttributes, renameGroup, renameUser, searchEntities, searchEntitiesWithRequestControls, searchGroupObjects, searchGroupObjectsOfSpecifiedGroupType, searchGroupRelationships, searchGroups, searchUserObjects, searchUsers, setAttributes, setDirectoryId, storeGroupAttributes, storeUserAttributes, supportsInactiveAccounts, supportsNestedGroups, testConnection, typedEntityNotFoundException, updateGroup, updateUser, updateUserCredential
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenDS

public OpenDS(LDAPQueryTranslater ldapQueryTranslater,
              com.atlassian.event.api.EventPublisher eventPublisher,
              InstanceFactory instanceFactory,
              PasswordEncoderFactory passwordEncoderFactory)
Method Detail

getStaticDirectoryType

public static String getStaticDirectoryType()

getDescriptiveName

public 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 GenericLDAP
Returns:
descriptive name.

createChangeListenerTemplate

protected org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()

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


Copyright © 2013 Atlassian. All Rights Reserved.