Class TestUserAuthenticator

java.lang.Object
gda.jython.authenticator.TestUserAuthenticator
All Implemented Interfaces:
Authenticator

public class TestUserAuthenticator extends Object implements Authenticator
Authenticator used for testing - user is authenticated if the username starts with test
  • Constructor Details

    • TestUserAuthenticator

      public TestUserAuthenticator()
  • Method Details

    • isAuthenticated

      public boolean isAuthenticated(String username, String password)
      Description copied from interface: Authenticator
      Returns true if the username and password can be authenticated.
      Specified by:
      isAuthenticated in interface Authenticator
      Parameters:
      username -
      password -
      Returns:
      boolean