Package org.h2.api

Interface CredentialsValidator

    • Method Detail

      • validateCredentials

        boolean validateCredentials​(AuthenticationInfo authenticationInfo)
                             throws java.lang.Exception
        Validate user credential.
        Parameters:
        authenticationInfo - = authentication info
        Returns:
        true if credentials are valid, otherwise false
        Throws:
        java.lang.Exception - any exception occurred (invalid credentials or internal issue) prevent user login