Class AllowingAuthenticateByEmailApplicationService
java.lang.Object
com.atlassian.crowd.manager.application.AbstractDelegatingApplicationService
com.atlassian.crowd.manager.application.AllowingAuthenticateByEmailApplicationService
- All Implemented Interfaces:
ApplicationService
public class AllowingAuthenticateByEmailApplicationService
extends AbstractDelegatingApplicationService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.crowd.manager.application.ApplicationService
ApplicationService.MembershipsIterable -
Constructor Summary
ConstructorsConstructorDescriptionAllowingAuthenticateByEmailApplicationService(ApplicationService delegate, EmailAddressValidator emailValidator, com.atlassian.event.api.EventPublisher eventPublisher, CanonicalUsersByEmailFinder canonicalUsersByEmailFinder, com.atlassian.crowd.embedded.spi.DcLicenseChecker dcLicenseChecker) -
Method Summary
Modifier and TypeMethodDescriptionauthenticateUser(Application application, String usernameOrEmail, PasswordCredential passwordCredential) Methods inherited from class com.atlassian.crowd.manager.application.AbstractDelegatingApplicationService
addAllUsers, addGroup, addGroupToGroup, addUser, addUser, addUserToGroup, createPagedGroupSearcher, createPagedUserSearcher, expireAllPasswords, findGroupByName, findGroupWithAttributesByName, findRemoteUserByName, findUserByKey, findUserByName, findUserWithAttributesByKey, findUserWithAttributesByName, findWebhookById, getApplicationService, getCapabilitiesForNewUsers, getCurrentEventToken, getMemberships, getNewEvents, getUserAvatar, getUserAvatarLink, isGroupDirectGroupMember, isGroupNestedGroupMember, isUserAuthorised, isUserAuthorised, isUserDirectGroupMember, isUserNestedGroupMember, registerWebhook, removeGroup, removeGroupAttributes, removeGroupFromGroup, removeUser, removeUserAttributes, removeUserFromGroup, renameUser, searchDirectGroupRelationships, searchGroups, searchNestedGroupRelationships, searchUsers, storeGroupAttributes, storeUserAttributes, unregisterWebhook, updateGroup, updateUser, updateUserCredential, userAuthenticated
-
Constructor Details
-
AllowingAuthenticateByEmailApplicationService
public AllowingAuthenticateByEmailApplicationService(ApplicationService delegate, EmailAddressValidator emailValidator, com.atlassian.event.api.EventPublisher eventPublisher, CanonicalUsersByEmailFinder canonicalUsersByEmailFinder, com.atlassian.crowd.embedded.spi.DcLicenseChecker dcLicenseChecker)
-
-
Method Details
-
authenticateUser
public User authenticateUser(Application application, String usernameOrEmail, PasswordCredential passwordCredential) throws OperationFailedException, InactiveAccountException, InvalidAuthenticationException, ExpiredCredentialException, UserNotFoundException - Specified by:
authenticateUserin interfaceApplicationService- Overrides:
authenticateUserin classAbstractDelegatingApplicationService- Throws:
OperationFailedExceptionInactiveAccountExceptionInvalidAuthenticationExceptionExpiredCredentialExceptionUserNotFoundException
-