com.atlassian.crowd.acceptance.tests.directory
Class LdapDirectoryMappersWithRequiredAttributesTest.DirectoryWithCustomAttributeMapperThatRequestsAllFields
java.lang.Object
com.atlassian.crowd.directory.SpringLDAPConnector
com.atlassian.crowd.directory.RFC4519Directory
com.atlassian.crowd.directory.ApacheDS
com.atlassian.crowd.directory.ApacheDS15
com.atlassian.crowd.acceptance.tests.directory.LdapDirectoryMappersWithRequiredAttributesTest.DirectoryWithCustomAttributeMapperThatRequestsAllFields
- All Implemented Interfaces:
- LDAPDirectory, RemoteDirectory, Attributes
- Enclosing class:
- LdapDirectoryMappersWithRequiredAttributesTest
public static class LdapDirectoryMappersWithRequiredAttributesTest.DirectoryWithCustomAttributeMapperThatRequestsAllFields
- extends ApacheDS15
Methods inherited from class com.atlassian.crowd.directory.RFC4519Directory |
addGroupToGroup, addUserToGroup, findDirectMembersOfGroup, getCustomGroupAttributeMappers, 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, 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 |
LdapDirectoryMappersWithRequiredAttributesTest.DirectoryWithCustomAttributeMapperThatRequestsAllFields
public LdapDirectoryMappersWithRequiredAttributesTest.DirectoryWithCustomAttributeMapperThatRequestsAllFields(LDAPQueryTranslater ldapQueryTranslater,
com.atlassian.event.api.EventPublisher eventPublisher,
InstanceFactory instanceFactory,
PasswordEncoderFactory passwordEncoderFactory)
getCustomUserAttributeMappers
protected List<AttributeMapper> getCustomUserAttributeMappers()
- Overrides:
getCustomUserAttributeMappers
in class RFC4519Directory
- Returns:
- a collection of custom attribute mappers. By default just return an empty list.
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.