Class ExcludeHttpsRequestMatcher

java.lang.Object
de.hybris.platform.orbeonweb.security.ExcludeHttpsRequestMatcher
All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher

public class ExcludeHttpsRequestMatcher extends Object implements org.springframework.security.web.util.matcher.RequestMatcher
Custom request matcher to exclude requests which contains proxy header and value, request with proxy header are trusted by default
  • 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)
     
    void
    setHybrisProxyHeader(String hybrisProxyHeader)
     
    void
    setHybrisProxyValue(String hybrisProxyValue)
     

    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

    • ExcludeHttpsRequestMatcher

      public ExcludeHttpsRequestMatcher()
  • Method Details

    • matches

      public boolean matches(javax.servlet.http.HttpServletRequest request)
      Specified by:
      matches in interface org.springframework.security.web.util.matcher.RequestMatcher
    • setHybrisProxyHeader

      public void setHybrisProxyHeader(String hybrisProxyHeader)
    • setHybrisProxyValue

      public void setHybrisProxyValue(String hybrisProxyValue)