public class OpenLDAP extends RFC4519Directory
attributes, contextSource, contextSourceTransactionManager, DEFAULT_PAGE_SIZE, eventPublisher, ldapPropertiesMapper, ldapQueryTranslater, ldapTemplate, nameConverter, searchDN
Constructor and Description |
---|
OpenLDAP(LDAPQueryTranslater ldapQueryTranslater,
com.atlassian.event.api.EventPublisher eventPublisher,
InstanceFactory instanceFactory,
PasswordEncoderFactory passwordEncoderFactory) |
Modifier and Type | Method and Description |
---|---|
protected LDAPCredentialEncoder |
getCredentialEncoder() |
String |
getDescriptiveName()
Returns a descriptive name for the type of directory.
|
protected void |
getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
OpenLDAP 2.3.35 in a default install requires the sn to be set before a user can be created.
|
static String |
getStaticDirectoryType() |
addDnToGroup, addGroupToGroup, addUserToGroup, findDirectMembersOfGroup, findGroupMembershipNames, findGroupMemberships, findGroupMembershipsOfUserViaMemberOf, findUserMembersOfGroupViaMemberDN, findUserMembersOfGroupViaMemberOf, getCustomGroupAttributeMappers, getCustomUserAttributeMappers, getMemberDnMappers, getMemberships, isDirectGroupMemberOf, isDnDirectGroupMember, isGroupDirectGroupMember, isUserDirectGroupMember, prepareOrFilterForGroupProperty, removeDnFromGroup, removeGroupFromGroup, removeUserFromGroup, searchGroupRelationshipsWithGroupTypeSpecified, searchGroupsByAttribute, searchGroupsByDns, toGenericIterable
addDefaultSnToUserAttributes, addDefaultValueToUserAttributesForAttribute, addGroup, addUser, addUser, asLdapGroupName, asLdapName, asLdapUserName, authenticate, avatarMapper, countDirectMembersOfGroup, createMinimalContextSource, createModificationItem, expireAllPasswords, findEntityByDN, findEntityByDN, findGroupByName, findGroupByNameAndType, findGroupWithAttributesByName, findUserByExternalId, findUserByName, findUserWithAttributesByName, getAttributeAsBoolean, getAttributeAsLong, getAuthoritativeDirectory, getBaseEnvironmentProperties, getContextSource, getDirectoryId, getGroupContextMapper, getInitialGroupMemberDN, getKeys, getLdapPropertiesMapper, getNewGroupAttributes, getNewGroupDirectorySpecificAttributes, getNewUserAttributes, getRequiredCustomGroupAttributeMappers, getSearchControls, getSearchDN, getUserAvatarByName, getUserModificationItems, getValue, getValues, initializeContextSource, initializeMinimalContextSource, isEmpty, isRolesDisabled, pageSearchResults, postprocessGroups, removeGroup, removeGroupAttributes, removeUser, removeUserAttributes, renameGroup, renameUser, searchEntities, searchEntitiesWithRequestControls, searchGroupObjects, searchGroupObjectsOfSpecifiedGroupType, searchGroupRelationships, searchGroups, searchUserObjects, searchUsers, setAttributes, setDirectoryId, setLdapPropertiesMapperAttributes, storeGroupAttributes, storeUserAttributes, supportsInactiveAccounts, supportsNestedGroups, supportsPasswordExpiration, supportsSettingEncryptedCredential, testConnection, typedEntityNotFoundException, updateGroup, updateUser, updateUserCredential
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateUserFromRemoteDirectory, userAuthenticated
public OpenLDAP(LDAPQueryTranslater ldapQueryTranslater, com.atlassian.event.api.EventPublisher eventPublisher, InstanceFactory instanceFactory, PasswordEncoderFactory passwordEncoderFactory)
public static String getStaticDirectoryType()
public String getDescriptiveName()
RemoteDirectory
protected LDAPCredentialEncoder getCredentialEncoder()
getCredentialEncoder
in class SpringLDAPConnector
protected void getNewUserDirectorySpecificAttributes(User user, Attributes attributes)
getNewUserDirectorySpecificAttributes
in class SpringLDAPConnector
user
- userattributes
- directory attributesCopyright © 2019 Atlassian. All rights reserved.