public class CsrfProtectionFilter extends Object implements org.apache.tapestry5.services.ComponentEventRequestFilter
| Constructor and Description |
|---|
CsrfProtectionFilter(CsrfTokenManager csrfTokenManager,
ProtectedPagesService protectedPagesService,
org.apache.tapestry5.http.services.Request request,
javax.servlet.http.HttpServletRequest httpServletRequest)
Creates a new filter and injects the required services and configuration parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(org.apache.tapestry5.services.ComponentEventRequestParameters parameters,
org.apache.tapestry5.services.ComponentEventRequestHandler handler)
Handles a component event request and evaluates the cross-site request forgery protection.
|
public CsrfProtectionFilter(CsrfTokenManager csrfTokenManager, ProtectedPagesService protectedPagesService, org.apache.tapestry5.http.services.Request request, javax.servlet.http.HttpServletRequest httpServletRequest)
csrfTokenManager - .protectedPagesService - .request - .httpServletRequest - .public void handle(org.apache.tapestry5.services.ComponentEventRequestParameters parameters,
org.apache.tapestry5.services.ComponentEventRequestHandler handler)
throws IOException
handle in interface org.apache.tapestry5.services.ComponentEventRequestFilterparameters - .handler - .IOException - when delegate throwsCopyright © 2013–2021 Porsche Informatik. All rights reserved.