Class AuthenticatorAdaptor

java.lang.Object
com.caplin.server.auth.AuthenticatorAdaptor
All Implemented Interfaces:
Authenticator
Direct Known Subclasses:
DelayedLoginAuthenticator

public class AuthenticatorAdaptor extends Object implements Authenticator

A default implementation of the Authenticator interface.

Use as-is or extend this adapter for a simple authenticator to avoid the need to implement every method in the Authenticator interface.

All methods return AuthenticationResult.OK except checkWrite(com.caplin.server.auth.UserSession, com.caplin.server.auth.RTTPObject, java.lang.String, java.lang.String, java.util.Map<java.lang.String, java.lang.String>) which returns AuthenticationResult.DENY.

See Also: