org.nakedobjects.runtime.authentication
Interface AuthenticationManager

All Superinterfaces:
ApplicationScopedComponent, Component
All Known Implementing Classes:
AuthenticationManagerStandard

public interface AuthenticationManager
extends ApplicationScopedComponent


Method Summary
 AuthenticationSession authenticate(AuthenticationRequest request)
          Caches and returns an authentication AuthenticationSession if the request is valid; otherwise returns null.
 void closeSession(AuthenticationSession authenticationSession)
           
 boolean isSessionValid(AuthenticationSession authenticationSession)
          Whether the provided AuthenticationSession is still valid.
 
Methods inherited from interface org.nakedobjects.metamodel.commons.component.ApplicationScopedComponent
init, shutdown
 

Method Detail

authenticate

AuthenticationSession authenticate(AuthenticationRequest request)
Caches and returns an authentication AuthenticationSession if the request is valid; otherwise returns null.


isSessionValid

boolean isSessionValid(AuthenticationSession authenticationSession)
Whether the provided AuthenticationSession is still valid.


closeSession

void closeSession(AuthenticationSession authenticationSession)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.