org.nakedobjects.runtime.authentication.standard
Interface Authenticator
- All Superinterfaces:
- ApplicationScopedComponent, Component
- All Known Implementing Classes:
- AuthenticatorAbstract, AuthenticatorNoop, ExplorationAuthenticator, FileAuthenticator, LdapAuthenticator, LogonFixtureAuthenticator, PasswordRequestAuthenticatorAbstract, SingleUserAuthenticator
public interface Authenticator
- extends ApplicationScopedComponent
canAuthenticate
boolean canAuthenticate(AuthenticationRequest request)
isValid
boolean isValid(AuthenticationRequest request)
authenticate
AuthenticationSession authenticate(AuthenticationRequest request,
java.lang.String code)
- Parameters:
code - - a hint; is guaranteed to be unique, but the authenticator decides whether to use it or not.
- Returns:
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.