Package de.hybris.platform.hac.request
Class CsrfSecurityRequestMatcher
java.lang.Object
de.hybris.platform.hac.request.CsrfSecurityRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
public class CsrfSecurityRequestMatcher
extends Object
implements org.springframework.security.web.util.matcher.RequestMatcher
Allows to bypass csrf protection for system initialization POST calls if development.mode property is set to true.
Otherwise it is only possible to initialize system manually via hac.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
org.springframework.security.web.util.matcher.RequestMatcher.MatchResult -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.util.matcher.RequestMatcher
matcher
-
Constructor Details
-
CsrfSecurityRequestMatcher
public CsrfSecurityRequestMatcher()
-
-
Method Details
-
matches
public boolean matches(javax.servlet.http.HttpServletRequest request) - Specified by:
matchesin interfaceorg.springframework.security.web.util.matcher.RequestMatcher
-