Class TestPassAuthenticator

    • Constructor Detail

      • TestPassAuthenticator

        public TestPassAuthenticator()
    • Method Detail

      • authenticate

        public boolean authenticate​(java.lang.String username,
                                    java.lang.String password,
                                    boolean isServiceAuth)
                             throws AuthenticatorException
        Method to authenticate a user
        Specified by:
        authenticate in interface Authenticator
        Overrides:
        authenticate in class TestFailAuthenticator
        Parameters:
        username - User's username
        password - User's password
        isServiceAuth - true if authentication is for a service call
        Returns:
        true if the user is authenticated
        Throws:
        AuthenticatorException - when a fatal error occurs during authentication