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


Method Summary
 AuthenticationSession authenticate(AuthenticationRequest request, java.lang.String code)
           
 boolean canAuthenticate(AuthenticationRequest request)
           
 boolean isValid(AuthenticationRequest request)
           
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Method Detail

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.