com.gwtplatform.dispatch.server.guice
Class HttpSessionSecurityCookieFilter
java.lang.Object
com.gwtplatform.dispatch.server.AbstractHttpSessionSecurityCookieFilter
com.gwtplatform.dispatch.server.guice.HttpSessionSecurityCookieFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class HttpSessionSecurityCookieFilter
- extends AbstractHttpSessionSecurityCookieFilter
This filter will automatically inject a security cookie inside the request the first time the page is loaded. This
security cookie is based on the HttpSession and will only work if the session is enabled. To setup this
filter, add the following line at before any other serve call in your own
ServletModule:
filter("*.jsp").through(HttpSessionSecurityCookieFilter.class);
You also have to use a .jsp file instead of a .html as your main GWT file.
- Author:
- Philippe Beaudoin
|
Method Summary |
protected javax.servlet.http.HttpSession |
getSession()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSession
protected javax.servlet.http.HttpSession getSession()
- Specified by:
getSession in class AbstractHttpSessionSecurityCookieFilter
Copyright © 2010-2011 ArcBees. All Rights Reserved.