Package com.atlassian.crowd.directory
Class ApacheDS15
java.lang.Object
com.atlassian.crowd.directory.SpringLDAPConnector
com.atlassian.crowd.directory.RFC4519Directory
com.atlassian.crowd.directory.ApacheDS
com.atlassian.crowd.directory.ApacheDS15
- All Implemented Interfaces:
LDAPDirectory
,RemoteDirectory
,Attributes
-
Field Summary
Fields inherited from class com.atlassian.crowd.directory.RFC4519Directory
DN_MAPPER
Fields inherited from class com.atlassian.crowd.directory.SpringLDAPConnector
attributes, contextSource, contextSourceTransactionManager, DEFAULT_PAGE_SIZE, eventPublisher, ldapPropertiesMapper, ldapQueryTranslater, ldapTemplate, nameConverter, searchDN
-
Constructor Summary
ConstructorDescriptionApacheDS15
(LDAPQueryTranslater ldapQueryTranslater, com.atlassian.event.api.EventPublisher eventPublisher, InstanceFactory instanceFactory, PasswordEncoderFactory passwordEncoderFactory, LdapContextSourceProvider ldapContextSourceProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.ldap.core.LdapTemplate
Returns a descriptive name for the type of directory.protected String
ApacheDS 1.5.x requires a non-blank uniqueMember when adding a group.protected void
getNewUserDirectorySpecificAttributes
(User user, Attributes attributes) ApacheDS in a default install requires the sn to be set before a user can be created.static String
Methods inherited from class com.atlassian.crowd.directory.ApacheDS
getCredentialEncoder
Methods inherited from class com.atlassian.crowd.directory.RFC4519Directory
addDnToGroup, addGroupToGroup, addUserToGroup, findAdditionalDirectMembers, findDirectMembersOfGroup, findGroupMembershipNames, findGroupMemberships, findGroupMembershipsOfUserViaMemberOf, findUserMembersOfGroupViaMemberDN, findUserMembersOfGroupViaMemberOf, getCustomGroupAttributeMappers, getCustomUserAttributeMappers, getMemberDnMappers, getMemberOnlyGroupAttributeMappers, getMemberships, isDirectGroupMemberOf, isDnDirectGroupMember, isGroupDirectGroupMember, isUserDirectGroupMember, prepareOrFilterForGroupProperty, removeDnFromGroup, removeGroupFromGroup, removeUserFromGroup, searchGroupRelationshipsWithGroupTypeSpecified, searchGroupsByAttribute, searchGroupsByDns, toGenericIterable
Methods inherited from class com.atlassian.crowd.directory.SpringLDAPConnector
addDefaultSnToUserAttributes, addDefaultValueToUserAttributesForAttribute, addGroup, addUser, addUser, authenticate, avatarMapper, countDirectMembersOfGroup, createModificationItem, expireAllPasswords, findEntityByDN, findEntityByDN, findEntityByDN, findGroupByName, findGroupByNameAndType, findGroupWithAttributesByName, findUserByExternalId, findUserByName, findUserWithAttributesByName, getAttributeAsBoolean, getAttributeAsLong, getAuthoritativeDirectory, getBaseEnvironmentProperties, getContextSource, getDirectoryId, getGroupContextMapper, getGroupContextMapper, getKeys, getLdapPropertiesMapper, getNewGroupAttributes, getNewGroupDirectorySpecificAttributes, getNewUserAttributes, getRequiredCustomGroupAttributeMappers, getSearchControls, getSearchDN, getUserAvatarByName, getUserModificationItems, getValue, getValues, isEmpty, isRolesDisabled, pageSearchResults, postprocessGroup, postprocessGroups, removeGroup, removeGroupAttributes, removeUser, removeUserAttributes, renameGroup, renameUser, searchEntities, searchEntitiesWithRequestControls, searchGroupObjects, searchGroupObjectsOfSpecifiedGroupType, searchGroupRelationships, searchGroups, searchUserObjects, searchUsers, searchUsers, setAttributes, setDirectoryId, setLdapPropertiesMapperAttributes, storeGroupAttributes, storeUserAttributes, supportsInactiveAccounts, supportsNestedGroups, supportsPasswordExpiration, supportsSettingEncryptedCredential, testConnection, typedEntityNotFoundException, updateGroup, updateUser, updateUserCredential
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.directory.RemoteDirectory
authenticate, getLocallyFilteredGroupNames, updateUserFromRemoteDirectory, userAuthenticated
-
Constructor Details
-
ApacheDS15
public ApacheDS15(LDAPQueryTranslater ldapQueryTranslater, com.atlassian.event.api.EventPublisher eventPublisher, InstanceFactory instanceFactory, PasswordEncoderFactory passwordEncoderFactory, LdapContextSourceProvider ldapContextSourceProvider)
-
-
Method Details
-
getStaticDirectoryType
-
getDescriptiveName
Description copied from interface:RemoteDirectory
Returns a descriptive name for the type of directory.- Specified by:
getDescriptiveName
in interfaceRemoteDirectory
- Overrides:
getDescriptiveName
in classApacheDS
- Returns:
- descriptive name.
-
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 classSpringLDAPConnector
- Returns:
- bind user DN.
-
getNewUserDirectorySpecificAttributes
ApacheDS in a default install requires the sn to be set before a user can be created.- Overrides:
getNewUserDirectorySpecificAttributes
in classApacheDS
- Parameters:
user
- user to addattributes
- representing the user
-
createChangeListenerTemplate
protected org.springframework.ldap.core.LdapTemplate createChangeListenerTemplate()
-