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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(javax.servlet.http.HttpServletRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      matches in interface org.springframework.security.web.util.matcher.RequestMatcher