org.nakedobjects.webapp.auth
Class AuthenticationSessionLookupStrategyDefault
java.lang.Object
org.nakedobjects.webapp.auth.AuthenticationSessionLookupStrategyAbstract
org.nakedobjects.webapp.auth.AuthenticationSessionLookupStrategyDefault
- All Implemented Interfaces:
- AuthenticationSessionLookupStrategy
public class AuthenticationSessionLookupStrategyDefault
- extends AuthenticationSessionLookupStrategyAbstract
Looks up from the HttpSession, failing
that attempts to logon using a LogonFixture (if available and not
already used) or in exploration mode.
The AuthenticationSession is looked up from the HttpSession using
the value .
Because we only want to use the LogonFixture once, the HttpSession
also stores the value
once a logon has occurred implicitly.
|
Method Summary |
void |
bind(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
AuthenticationSession authSession)
|
AuthenticationSession |
lookup(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationSessionLookupStrategyDefault
public AuthenticationSessionLookupStrategyDefault()
lookup
public AuthenticationSession lookup(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
bind
public void bind(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
AuthenticationSession authSession)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.