Interface UserCredentialVerifier

All Known Implementing Classes:
MsalUserCredentialVerifier

public interface UserCredentialVerifier
Responsible for verifying users credentials
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkUserCredential(String username, com.atlassian.crowd.embedded.api.PasswordCredential userCredential)
    Checks whether the user with the provided username can authenticate against Microsoft Entra ID with provided credential.
  • Method Details

    • checkUserCredential

      void checkUserCredential(String username, com.atlassian.crowd.embedded.api.PasswordCredential userCredential) throws InvalidAuthenticationException, OperationFailedException
      Checks whether the user with the provided username can authenticate against Microsoft Entra ID with provided credential.
      Parameters:
      username - username to authenticate the user
      userCredential - credential to authenticate the user
      Throws:
      InvalidAuthenticationException - if the authentication details provided are not valid, or if the user does not exist
      OperationFailedException - if the underlying implementation failed to execute the operation