AbstractRandomSecurityCookieFilter
.@Deprecated public abstract class AbstractRandomSecurityCookieFilter extends Object implements javax.servlet.Filter
HttpSessionSecurityCookieFilter
, although it will work even if you don't have access to an
HttpSession
. To setup this filter, add the following line at before any other
serve
call in your own ServletModule.configureServlets()
:
filter("*.jsp").through(HttpSessionSecurityCookieFilter.class);You also have to use a
.jsp
file instead of a .html
as your main GWT file.Modifier and Type | Field and Description |
---|---|
protected SecureRandom |
random
Deprecated.
|
protected String |
securityCookieName
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractRandomSecurityCookieFilter(String securityCookieName,
SecureRandom random)
Deprecated.
|
protected final SecureRandom random
protected final String securityCookieName
protected AbstractRandomSecurityCookieFilter(String securityCookieName, SecureRandom random)
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
Copyright © 2010–2014 Arcbees. All rights reserved.