public interface UserCredentialVerifier
| Modifier and Type | Method and Description |
|---|---|
void |
checkUserCredential(String username,
com.atlassian.crowd.embedded.api.PasswordCredential userCredential)
Checks whether the user with the provided username can authenticate against Azure AD with provided credential.
|
void checkUserCredential(String username, com.atlassian.crowd.embedded.api.PasswordCredential userCredential) throws com.atlassian.crowd.exception.InvalidAuthenticationException, com.atlassian.crowd.exception.OperationFailedException
username - username to authenticate the useruserCredential - credential to authenticate the usercom.atlassian.crowd.exception.InvalidAuthenticationException - if the authentication details provided are not valid, or if the user does not existcom.atlassian.crowd.exception.OperationFailedException - if the underlying implementation failed to execute the operationCopyright © 2023 Atlassian. All rights reserved.