Class QueryParamPresenceRequestMatcher

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

public class QueryParamPresenceRequestMatcher extends Object implements org.springframework.security.web.util.matcher.RequestMatcher
Spring RequestMatcher that checks for the presence of a query parameter.
Author:
Gabriel Lavoie
  • 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 httpServletRequest)
     

    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

    • QueryParamPresenceRequestMatcher

      public QueryParamPresenceRequestMatcher(String param)
  • Method Details

    • matches

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