|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.web.filter.GenericFilterBean
org.broadleafcommerce.common.security.handler.CsrfFilter
org.broadleafcommerce.openadmin.web.filter.AdminCsrfFilter
public class AdminCsrfFilter
This class attempts the work flow of the CsrfFilter, but in the event of a Csrf token mismatch
(Session reset for example) the User will be redirected to login, if not session reset User is sent to previous location.
The "blCsrfFilter' from applicationContext-admin-security should reference this class (org.broadleafcommerce.openadmin.web.filter.AdminCsrfFilter)
instead of the CsrfFilter
| Field Summary |
|---|
| Fields inherited from class org.broadleafcommerce.common.security.handler.CsrfFilter |
|---|
excludedRequestPatterns, exploitProtectionService, LOG |
| Fields inherited from class org.springframework.web.filter.GenericFilterBean |
|---|
logger |
| Constructor Summary | |
|---|---|
AdminCsrfFilter()
|
|
| Method Summary | |
|---|---|
void |
doFilter(javax.servlet.ServletRequest baseRequest,
javax.servlet.ServletResponse baseResponse,
javax.servlet.FilterChain chain)
|
| Methods inherited from class org.broadleafcommerce.common.security.handler.CsrfFilter |
|---|
getExcludedRequestPatterns, setExcludedRequestPatterns |
| Methods inherited from class org.springframework.web.filter.GenericFilterBean |
|---|
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminCsrfFilter()
| Method Detail |
|---|
public void doFilter(javax.servlet.ServletRequest baseRequest,
javax.servlet.ServletResponse baseResponse,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterdoFilter in class CsrfFilterIOException
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||