Class AdapterStateCookieRequestMatcher

java.lang.Object
org.keycloak.adapters.springsecurity.filter.AdapterStateCookieRequestMatcher
All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher

public class AdapterStateCookieRequestMatcher extends Object implements org.springframework.security.web.util.matcher.RequestMatcher
Matches a request if it contains a "KEYCLOAK_ADAPTER_STATE" cookie.
Author:
Sjoerd Cranen
  • 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

    • AdapterStateCookieRequestMatcher

      public AdapterStateCookieRequestMatcher()
  • Method Details

    • matches

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