Uses of Class
com.atlassian.crowd.embedded.api.PasswordCredential
Packages that use PasswordCredential
Package
Description
-
Uses of PasswordCredential in com.atlassian.crowd.dao.application
Methods in com.atlassian.crowd.dao.application with parameters of type PasswordCredentialModifier and TypeMethodDescriptionApplicationDAO.add
(Application application, PasswordCredential passwordCredential) Will only create the core attributes to an application, i.e.ApplicationDAOHibernate.add
(Application application, PasswordCredential passwordCredential) void
ApplicationDAO.updateCredential
(Application application, PasswordCredential passwordCredential) Updates credential of the given application.void
ApplicationDAOHibernate.updateCredential
(Application application, PasswordCredential passwordCredential) -
Uses of PasswordCredential in com.atlassian.crowd.dao.user
Methods in com.atlassian.crowd.dao.user that return PasswordCredentialModifier and TypeMethodDescriptionUserDAOHibernate.getCredential
(long directoryId, String username) Methods in com.atlassian.crowd.dao.user that return types with arguments of type PasswordCredentialModifier and TypeMethodDescriptionUserDAOHibernate.getCredentialHistory
(long directoryId, String username) Methods in com.atlassian.crowd.dao.user with parameters of type PasswordCredentialModifier and TypeMethodDescriptionUserDAOHibernate.add
(User user, PasswordCredential credential) void
UserDAOHibernate.updateCredential
(User user, PasswordCredential credential, int maxPasswordHistory) -
Uses of PasswordCredential in com.atlassian.crowd.directory
Methods in com.atlassian.crowd.directory that return PasswordCredentialModifier and TypeMethodDescriptionprotected PasswordCredential
AbstractInternalDirectory.encryptedCredential
(PasswordCredential passwordCredential) Methods in com.atlassian.crowd.directory with parameters of type PasswordCredentialModifier and TypeMethodDescriptionAbstractForwardingDirectory.addUser
(UserTemplate user, PasswordCredential credential) AbstractForwardingDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) abstract UserWithAttributes
AbstractInternalDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) AuditingDirectoryDecorator.addUser
(UserTemplate user, PasswordCredential credential) AuditingDirectoryDecorator.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) AzureAdDirectory.addUser
(UserTemplate user, PasswordCredential credential) AzureAdDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) CachingDirectory.addUser
(UserTemplate user, PasswordCredential credential) Adds a user with no special added logic.CachingDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) Adds a user without modifying it, including storing its attributes.DbCachingRemoteDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) InternalDirectory.addUser
(UserTemplate user, PasswordCredential credential) InternalDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) Adds a user and the following custom attributes: - RemotePrincipalConstants.PASSWORD_LASTCHANGED set to the current time.MockSimpleRemoteDirectory.addUser
(UserTemplate user, PasswordCredential credential) MockSimpleRemoteDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) RemoteCrowdDirectory.addUser
(UserTemplate user, PasswordCredential credential) RemoteCrowdDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) RemoteDirectory.addUser
(UserTemplate user, PasswordCredential credential) Deprecated.RemoteDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) Adds auser
to the directory store.Rfc2307.addUser
(UserTemplate user, PasswordCredential credential) Rfc2307.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) SpringLDAPConnector.addUser
(UserTemplate user, PasswordCredential credential) Adds a user to LDAP.SpringLDAPConnector.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) Adds a user to LDAP.AbstractForwardingDirectory.authenticate
(String name, PasswordCredential credential) AbstractInternalDirectory.authenticate
(String name, PasswordCredential credential) AuditingDirectoryDecorator.authenticate
(String name, PasswordCredential credential) AzureAdDirectory.authenticate
(String name, PasswordCredential credential) DbCachingRemoteDirectory.authenticate
(String name, PasswordCredential credential) DelegatedAuthenticationDirectory.authenticate
(String name, PasswordCredential credential) In addition to the normal authentication behaviour, following a successful authentication the following may occur: If the user does not exist in the internal directory andDelegatedAuthenticationDirectory.ATTRIBUTE_CREATE_USER_ON_AUTH
is enabled, the user's details will be added to the internal directory. If the user exists in the internal directory andDelegatedAuthenticationDirectory.ATTRIBUTE_UPDATE_USER_ON_AUTH
is enabled, the user's details will be updated in the internal directory. If the user exists in the internal directory andDelegatedAuthenticationDirectory.ATTRIBUTE_UPDATE_USER_ON_AUTH
is enabled and the username was changed in remote directory, the user's name will be updated in the internal directory. A user marked as inactive locally will not be authenticated, retrieved, renamed or updated from the LDAP server.MockSimpleRemoteDirectory.authenticate
(String name, PasswordCredential credential) RemoteCrowdDirectory.authenticate
(String username, PasswordCredential credential) RemoteDirectory.authenticate
(String name, PasswordCredential credential) Authenticates auser
with the directory store.SpringLDAPConnector.authenticate
(String name, PasswordCredential credential) protected User
DbCachingRemoteDirectory.authenticateAndUpdateInternalUser
(String name, PasswordCredential credential) Authenticates user and ensures that internal directory contains the authenticated user.protected PasswordCredential
AbstractInternalDirectory.encryptedCredential
(PasswordCredential passwordCredential) protected Attributes
SpringLDAPConnector.getNewUserAttributes
(User user, PasswordCredential credential) Translates theUser
into LDAP attributes, in preparation for creating a new user.void
AbstractForwardingDirectory.updateUserCredential
(String username, PasswordCredential credential) void
AbstractInternalDirectory.updateUserCredential
(String name, PasswordCredential newCredential) void
AppleOpenDirectory.updateUserCredential
(String name, PasswordCredential credential) We don't support changing passwords in Open Directory, mainly because we can't figure out how.void
AuditingDirectoryDecorator.updateUserCredential
(String username, PasswordCredential credential) void
AzureAdDirectory.updateUserCredential
(String username, PasswordCredential credential) void
DbCachingRemoteDirectory.updateUserCredential
(String username, PasswordCredential credential) void
DelegatedAuthenticationDirectory.updateUserCredential
(String username, PasswordCredential credential) void
MockSimpleRemoteDirectory.updateUserCredential
(String username, PasswordCredential credential) void
RemoteCrowdDirectory.updateUserCredential
(String username, PasswordCredential credential) void
RemoteDirectory.updateUserCredential
(String username, PasswordCredential credential) void
SpringLDAPConnector.updateUserCredential
(String name, PasswordCredential credential) void
InternalDirectoryUtils.validateCredential
(User user, PasswordCredential credential, Set<PasswordConstraint> passwordConstraints, String message) Validates a password credential for a given user against the given set of constraints.void
InternalDirectoryUtilsImpl.validateCredential
(User user, PasswordCredential credential, Set<PasswordConstraint> passwordConstraints, String passwordComplexityMessage) -
Uses of PasswordCredential in com.atlassian.crowd.directory.authentication
Methods in com.atlassian.crowd.directory.authentication with parameters of type PasswordCredentialModifier and TypeMethodDescriptionvoid
UserCredentialVerifier.checkUserCredential
(String username, PasswordCredential userCredential) Checks whether the user with the provided username can authenticate against Microsoft Entra ID with provided credential. -
Uses of PasswordCredential in com.atlassian.crowd.directory.authentication.impl
Methods in com.atlassian.crowd.directory.authentication.impl with parameters of type PasswordCredentialModifier and TypeMethodDescriptionvoid
MsalUserCredentialVerifier.checkUserCredential
(String username, PasswordCredential userCredential) -
Uses of PasswordCredential in com.atlassian.crowd.directory.ldap.credential
Methods in com.atlassian.crowd.directory.ldap.credential with parameters of type PasswordCredentialModifier and TypeMethodDescriptionbyte[]
ActiveDirectoryCredentialEncoder.encodeCredential
(PasswordCredential passwordCredential) EncryptingCredentialEncoder.encodeCredential
(PasswordCredential passwordCredential) EnforceUnencryptedCredentialEncoder.encodeCredential
(PasswordCredential passwordCredential) LDAPCredentialEncoder.encodeCredential
(PasswordCredential passwordCredential) Given an plain-text password, encodes/encrypts it according to the settings required by the particular directory connector which this encoder is intended to be used with.byte[]
LDAPCredentialEncoder.LDAPCredentialToByteArrayEncoder.encodeCredential
(PasswordCredential passwordCredential) LDAPCredentialEncoder.LDAPCredentialToStringEncoder.encodeCredential
(PasswordCredential passwordCredential) -
Uses of PasswordCredential in com.atlassian.crowd.embedded.api
Fields in com.atlassian.crowd.embedded.api declared as PasswordCredentialMethods in com.atlassian.crowd.embedded.api that return PasswordCredentialModifier and TypeMethodDescriptionstatic PasswordCredential
ValidatePasswordRequest.getPassword()
static PasswordCredential
PasswordCredential.unencrypted
(String unencryptedCredential) Methods in com.atlassian.crowd.embedded.api with parameters of type PasswordCredentialModifier and TypeMethodDescriptionPasswordScoreService.getPasswordScore
(PasswordCredential passwordCredential, Collection<String> userInfo) Analyse a non-encrypted password and determine the score of it according to some method (e.g.Constructors in com.atlassian.crowd.embedded.api with parameters of type PasswordCredentialModifierConstructorDescriptionPasswordCredential
(PasswordCredential passwordCredential) ValidatePasswordRequest
(PasswordCredential password, User user) Creates a new ValidateRequest. -
Uses of PasswordCredential in com.atlassian.crowd.embedded.core
Methods in com.atlassian.crowd.embedded.core with parameters of type PasswordCredentialModifier and TypeMethodDescriptionNoOpPasswordScoreServiceImpl.getPasswordScore
(PasswordCredential passwordCredential, Collection<String> userInfo) -
Uses of PasswordCredential in com.atlassian.crowd.embedded.spi
Methods in com.atlassian.crowd.embedded.spi that return PasswordCredentialModifier and TypeMethodDescriptionUserDao.getCredential
(long directoryId, String userName) Returns the credential for the given user.Methods in com.atlassian.crowd.embedded.spi that return types with arguments of type PasswordCredentialModifier and TypeMethodDescriptionUserDao.getCredentialHistory
(long directoryId, String userName) Returns the previous credentials for the given user, starting with the oldest.Methods in com.atlassian.crowd.embedded.spi with parameters of type PasswordCredentialModifier and TypeMethodDescriptionUserDao.add
(User user, PasswordCredential credential) Creates a new user with the given details and credentials.void
UserDao.updateCredential
(User user, PasswordCredential credential, int maxCredentialHistory) Updates the credential (password) of the user with the same directory and case-insensitive name. -
Uses of PasswordCredential in com.atlassian.crowd.event.user
Methods in com.atlassian.crowd.event.user that return PasswordCredentialConstructors in com.atlassian.crowd.event.user with parameters of type PasswordCredentialModifierConstructorDescriptionUserCredentialUpdatedEvent
(Object source, Directory directory, String username, PasswordCredential newCredential) -
Uses of PasswordCredential in com.atlassian.crowd.integration.rest.service
Methods in com.atlassian.crowd.integration.rest.service with parameters of type PasswordCredentialModifier and TypeMethodDescriptionRestCrowdClient.addUser
(User user, PasswordCredential passwordCredential) RestCrowdClient.addUser
(UserWithAttributes user, PasswordCredential passwordCredential) -
Uses of PasswordCredential in com.atlassian.crowd.integration.rest.util
Methods in com.atlassian.crowd.integration.rest.util with parameters of type PasswordCredentialModifier and TypeMethodDescriptionstatic UserEntity
EntityTranslator.toUserEntity
(User user, PasswordCredential passwordCredential) Translates a User to a UserEntity. -
Uses of PasswordCredential in com.atlassian.crowd.manager.application
Methods in com.atlassian.crowd.manager.application with parameters of type PasswordCredentialModifier and TypeMethodDescriptionAbstractDelegatingApplicationService.addUser
(Application application, UserTemplate user, PasswordCredential credential) AbstractDelegatingApplicationService.addUser
(Application application, UserTemplateWithAttributes userWithAttributes, PasswordCredential credential) ApplicationService.addUser
(Application application, UserTemplate user, PasswordCredential credential) ApplicationService.addUser
(Application application, UserTemplateWithAttributes user, PasswordCredential credential) Adds the user to the first permissible active directory.ApplicationServiceGeneric.addUser
(Application application, UserTemplate user, PasswordCredential credential) ApplicationServiceGeneric.addUser
(Application application, UserTemplateWithAttributes user, PasswordCredential credential) TranslatingApplicationService.addUser
(Application application, UserTemplate user, PasswordCredential credential) TranslatingApplicationService.addUser
(Application application, UserTemplateWithAttributes user, PasswordCredential credential) boolean
ApplicationManager.authenticate
(Application application, PasswordCredential testCredential) Takes an application, which contains a hashed credential, and compares that to a hash of the supplied testCredential.boolean
ApplicationManagerGeneric.authenticate
(Application application, PasswordCredential testCredential) AbstractDelegatingApplicationService.authenticateUser
(Application application, String username, PasswordCredential passwordCredential) AllowingAuthenticateByEmailApplicationService.authenticateUser
(Application application, String usernameOrEmail, PasswordCredential passwordCredential) ApplicationService.authenticateUser
(Application application, String username, PasswordCredential passwordCredential) Will attempt to authenticate the given user against the application.ApplicationServiceGeneric.authenticateUser
(Application application, String username, PasswordCredential passwordCredential) TranslatingApplicationService.authenticateUser
(Application application, String username, PasswordCredential passwordCredential) void
ApplicationManager.updateCredential
(Application application, PasswordCredential passwordCredential) Takes an application with a List of credentials that are unencrypted, encrypts them and then updates the application in the database with the encrypted credentialsvoid
ApplicationManagerGeneric.updateCredential
(Application application, PasswordCredential passwordCredential) void
AbstractDelegatingApplicationService.updateUserCredential
(Application application, String username, PasswordCredential credential) void
ApplicationService.updateUserCredential
(Application application, String username, PasswordCredential credential) Updates the credentials of the first matching user from all the active directories assigned to the application.void
ApplicationServiceGeneric.updateUserCredential
(Application application, String username, PasswordCredential credential) void
TranslatingApplicationService.updateUserCredential
(Application application, String username, PasswordCredential credential) -
Uses of PasswordCredential in com.atlassian.crowd.manager.directory
Methods in com.atlassian.crowd.manager.directory with parameters of type PasswordCredentialModifier and TypeMethodDescriptionDirectoryManager.addUser
(long directoryId, UserTemplate user, PasswordCredential credential) DirectoryManager.addUser
(long directoryId, UserTemplateWithAttributes user, PasswordCredential credential) Adds aUserWithAttributes
to the directory specified by the passed indirectoryId
.DirectoryManagerGeneric.addUser
(long directoryId, UserTemplate user, PasswordCredential credential) DirectoryManagerGeneric.addUser
(long directoryId, UserTemplateWithAttributes user, PasswordCredential credential) DirectoryManager.authenticateUser
(long directoryId, String username, PasswordCredential passwordCredential) DirectoryManagerGeneric.authenticateUser
(long directoryId, String username, PasswordCredential passwordCredential) void
DirectoryManager.updateUserCredential
(long directoryId, String username, PasswordCredential credential) This will update the user's credential in the given directory specified by the passed indirectoryId
.void
DirectoryManagerGeneric.updateUserCredential
(long directoryId, String username, PasswordCredential credential) -
Uses of PasswordCredential in com.atlassian.crowd.manager.login
Methods in com.atlassian.crowd.manager.login with parameters of type PasswordCredentialModifier and TypeMethodDescriptionvoid
ForgottenLoginManager.resetUserCredential
(long directoryId, String username, PasswordCredential credential, String token) Resets the user credentials and invalidates the token.void
ForgottenLoginManagerImpl.resetUserCredential
(long directoryId, String username, PasswordCredential credential, String token) -
Uses of PasswordCredential in com.atlassian.crowd.manager.recovery
Methods in com.atlassian.crowd.manager.recovery with parameters of type PasswordCredentialModifier and TypeMethodDescriptionRecoveryModeRemoteDirectory.addUser
(UserTemplate user, PasswordCredential credential) RecoveryModeRemoteDirectory.addUser
(UserTemplateWithAttributes user, PasswordCredential credential) RecoveryModeRemoteDirectory.authenticate
(String name, PasswordCredential credential) void
RecoveryModeRemoteDirectory.updateUserCredential
(String username, PasswordCredential credential) -
Uses of PasswordCredential in com.atlassian.crowd.migration.legacy
Methods in com.atlassian.crowd.migration.legacy that return PasswordCredentialModifier and TypeMethodDescriptionprotected PasswordCredential
GenericLegacyImporter.getPasswordCredentialFromXml
(org.dom4j.Element parentElement) -
Uses of PasswordCredential in com.atlassian.crowd.model.application
Methods in com.atlassian.crowd.model.application that return PasswordCredentialModifier and TypeMethodDescriptionApplication.getCredential()
Returns the application password.ApplicationImpl.getCredential()
Deprecated.ImmutableApplication.getCredential()
Methods in com.atlassian.crowd.model.application with parameters of type PasswordCredentialModifier and TypeMethodDescriptionstatic ApplicationImpl
ApplicationImpl.newInstanceWithCredential
(String name, ApplicationType type, PasswordCredential credential) Deprecated.static ApplicationImpl
ApplicationImpl.newInstanceWithIdAndCredential
(String name, ApplicationType type, PasswordCredential credential, long id) Deprecated.void
ApplicationImpl.setCredential
(PasswordCredential credential) Deprecated.ImmutableApplication.Builder.setPasswordCredential
(PasswordCredential passwordCredential) Constructors in com.atlassian.crowd.model.application with parameters of type PasswordCredentialModifierConstructorDescriptionprotected
ApplicationImpl
(String name, long id, ApplicationType type, String description, PasswordCredential credential, boolean active, Map<String, String> attributes, List<DirectoryMapping> directoryMappings, Set<RemoteAddress> remoteAddresses, Set<Webhook> webhooks, Date createdDate, Date updatedDate) Deprecated.ImmutableApplication
(Long id, String name, ApplicationType type, String description, PasswordCredential passwordCredential, boolean permanent, boolean active, Map<String, String> attributes, List<DirectoryMapping> directoryMappings, Set<RemoteAddress> remoteAddresses, Set<Webhook> webhooks, boolean lowercaseOutput, boolean aliasingEnabled, Date createdDate, Date updatedDate) Deprecated.UseImmutableApplication.Builder
instead. -
Uses of PasswordCredential in com.atlassian.crowd.model.authentication
Methods in com.atlassian.crowd.model.authentication that return PasswordCredentialModifier and TypeMethodDescriptionAuthenticationContext.getCredential()
Gets the authenticating credential information.Methods in com.atlassian.crowd.model.authentication with parameters of type PasswordCredentialModifier and TypeMethodDescriptionvoid
AuthenticationContext.setCredential
(PasswordCredential credential) Sets the authenticating credential information.Constructors in com.atlassian.crowd.model.authentication with parameters of type PasswordCredentialModifierConstructorDescriptionApplicationAuthenticationContext
(String name, PasswordCredential credential, ValidationFactor[] validationFactors) protected
AuthenticationContext
(String name, PasswordCredential credential, ValidationFactor[] validationFactors) UserAuthenticationContext
(String name, PasswordCredential credential, ValidationFactor[] validationFactors, String application) -
Uses of PasswordCredential in com.atlassian.crowd.model.user
Methods in com.atlassian.crowd.model.user that return PasswordCredentialModifier and TypeMethodDescriptionInternalUser.getCredential()
InternalUserCredentialRecord.getCredential()
InternalUserWithAttributes.getCredential()
UserTemplateWithCredentialAndAttributes.getCredential()
Methods in com.atlassian.crowd.model.user that return types with arguments of type PasswordCredentialModifier and TypeMethodDescriptionInternalUser.getCredentialHistory()
UserTemplateWithCredentialAndAttributes.getCredentialHistory()
Methods in com.atlassian.crowd.model.user with parameters of type PasswordCredentialModifier and TypeMethodDescriptionvoid
InternalUser.updateCredentialTo
(PasswordCredential newCredential, int maxCredentialHistory) Constructors in com.atlassian.crowd.model.user with parameters of type PasswordCredentialModifierConstructorDescriptionInternalUser
(InternalEntityTemplate internalEntityTemplate, Directory directory, UserTemplate userTemplate, PasswordCredential credential) This constructor is used by the importer only.InternalUser
(User user, Directory directory, PasswordCredential credential) Constructor used for adding a new user.UserTemplateWithCredentialAndAttributes
(User user, PasswordCredential credential) UserTemplateWithCredentialAndAttributes
(User user, Map<String, Set<String>> attributes, PasswordCredential credential) UserTemplateWithCredentialAndAttributes
(String username, long directoryId, PasswordCredential credential) -
Uses of PasswordCredential in com.atlassian.crowd.plugin.rest.util
Methods in com.atlassian.crowd.plugin.rest.util that return PasswordCredentialModifier and TypeMethodDescriptionstatic PasswordCredential
ApplicationEntityTranslator.toPasswordCredential
(PasswordEntity passwordEntity) Translates from aPasswordEntity
to aPasswordCredential
. -
Uses of PasswordCredential in com.atlassian.crowd.service.client
Methods in com.atlassian.crowd.service.client with parameters of type PasswordCredentialModifier and TypeMethodDescriptionCrowdClient.addUser
(User user, PasswordCredential passwordCredential) CrowdClient.addUser
(UserWithAttributes user, PasswordCredential passwordCredential) Adds a new User to the remote Crowd server and will attempt to add the attributes atomically, but for Crowd servers < v2.9.0 atomic attribute adding may not be supported.
RemoteDirectory.addUser(com.atlassian.crowd.model.user.UserTemplateWithAttributes, com.atlassian.crowd.embedded.api.PasswordCredential)
instead.