public class AppleOpenDirectory extends Rfc2307
It has some quirks, and is not particularly well documented. We've been unable to determine exactly how to change user passwords.
attributes, contextSource, contextSourceTransactionManager, DEFAULT_PAGE_SIZE, eventPublisher, ldapPropertiesMapper, ldapQueryTranslater, ldapTemplate, nameConverter, searchDN
Constructor and Description |
---|
AppleOpenDirectory(LDAPQueryTranslater ldapQueryTranslater,
com.atlassian.event.api.EventPublisher eventPublisher,
InstanceFactory instanceFactory,
PasswordEncoderFactory passwordEncoderFactory) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getBaseEnvironmentProperties()
Returns the properties used to set up the Ldap ContextSource.
|
String |
getDescriptiveName()
Returns a descriptive name for the type of directory.
|
static String |
getStaticDirectoryType() |
void |
updateUserCredential(String name,
PasswordCredential credential)
We don't support changing passwords in Open Directory, mainly because we can't figure out how.
|
addGroup, addGroupToGroup, addUser, addUser, addUserToGroup, getCredentialEncoder, getNewUserDirectorySpecificAttributes, removeGroup, removeGroupFromGroup, removeUser, removeUserFromGroup, renameGroup, renameUser, updateGroup, updateUser
getCustomGroupAttributeMappers, getCustomUserAttributeMappers, getMemberships, isGroupDirectGroupMember, isUserDirectGroupMember, searchGroupRelationshipsWithGroupTypeSpecified, supportsNestedGroups, supportsPasswordExpiration
addDefaultSnToUserAttributes, addDefaultValueToUserAttributesForAttribute, asLdapGroupName, asLdapName, asLdapUserName, authenticate, avatarMapper, countDirectMembersOfGroup, createMinimalContextSource, createModificationItem, expireAllPasswords, findEntityByDN, findEntityByDN, findGroupByName, findGroupByNameAndType, findGroupWithAttributesByName, findUserByExternalId, findUserByName, findUserWithAttributesByName, getAttributeAsBoolean, getAttributeAsLong, getAuthoritativeDirectory, getContextSource, getDirectoryId, getGroupContextMapper, getInitialGroupMemberDN, getKeys, getLdapPropertiesMapper, getNewGroupAttributes, getNewGroupDirectorySpecificAttributes, getNewUserAttributes, getRequiredCustomGroupAttributeMappers, getSearchControls, getSearchDN, getUserAvatarByName, getUserModificationItems, getValue, getValues, initializeContextSource, initializeMinimalContextSource, isEmpty, isRolesDisabled, pageSearchResults, postprocessGroups, removeGroupAttributes, removeUserAttributes, searchEntities, searchEntitiesWithRequestControls, searchGroupObjects, searchGroupObjectsOfSpecifiedGroupType, searchGroupRelationships, searchGroups, searchUserObjects, searchUsers, setAttributes, setDirectoryId, setLdapPropertiesMapperAttributes, storeGroupAttributes, storeUserAttributes, supportsInactiveAccounts, supportsSettingEncryptedCredential, testConnection, typedEntityNotFoundException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateUserFromRemoteDirectory, userAuthenticated
public AppleOpenDirectory(LDAPQueryTranslater ldapQueryTranslater, com.atlassian.event.api.EventPublisher eventPublisher, InstanceFactory instanceFactory, PasswordEncoderFactory passwordEncoderFactory)
public static String getStaticDirectoryType()
public String getDescriptiveName()
RemoteDirectory
getDescriptiveName
in interface RemoteDirectory
getDescriptiveName
in class Rfc2307
protected Map<String,Object> getBaseEnvironmentProperties()
getBaseEnvironmentProperties
in class SpringLDAPConnector
public void updateUserCredential(String name, PasswordCredential credential) throws UserNotFoundException, InvalidCredentialException
updateUserCredential
in interface RemoteDirectory
updateUserCredential
in class SpringLDAPConnector
name
- The name of the user (username).credential
- The new credential (password).UserNotFoundException
- The user does not exist.InvalidCredentialException
- The supplied credential is invalid.RemoteDirectory.supportsSettingEncryptedCredential()
Copyright © 2020 Atlassian. All rights reserved.