Package gda.jython.authenticator
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthenticated(String username, String password) Returns true if the username and password can be authenticated.
-
Field Details
-
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
The default java property if none defined.- See Also:
-
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
Returns true if the username and password can be authenticated.- Parameters:
username-password-- Returns:
- boolean
-