Interface UserAuthenticator


public interface UserAuthenticator
Handles the authentication of users.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkChallenge(String username, String responseChallenge, Function<byte[],String> hashFunc)
    Checks if the given responseChallenge matches the expected value returned by the hashFunc according to the username's password.
    void
    checkCredentials(jakarta.mail.PasswordAuthentication credentials)
    Checks the given credentials and throws a SecurityException if those are invalid.