Interface Authenticator

All Known Implementing Classes:
JaasAuthenticator, LdapAuthenticator, TestUserAuthenticator

public interface Authenticator
An interface for objects providing an authentication service for the GDA Command Server.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The java property to use to define which class of Authenticator to use.
    static final String
    The default java property if none defined.
    static final String
    The name this object should use in the xml configuration file.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthenticated(String username, String password)
    Returns true if the username and password can be authenticated.
  • Field Details

    • AUTHENTICATORCLASS_PROPERTY

      static final String AUTHENTICATORCLASS_PROPERTY
      The java property to use to define which class of Authenticator to use. If not set, OS authentication is used.
      See Also:
    • DEFAULT_AUTHENTICATOR

      static final String DEFAULT_AUTHENTICATOR
      The default java property if none defined.
      See Also:
    • NAME

      static final String NAME
      The name this object should use in the xml configuration file. Such an object should be in the same Object Server as the JythonServer object.
      See Also:
  • Method Details

    • isAuthenticated

      boolean isAuthenticated(String username, String password)
      Returns true if the username and password can be authenticated.
      Parameters:
      username -
      password -
      Returns:
      boolean