Class KeycloakCsrfRequestMatcher
java.lang.Object
org.keycloak.adapters.springsecurity.filter.KeycloakCsrfRequestMatcher
- All Implemented Interfaces:
org.springframework.security.web.util.matcher.RequestMatcher
public class KeycloakCsrfRequestMatcher
extends Object
implements org.springframework.security.web.util.matcher.RequestMatcher
CSRF protection matcher that allows administrative POST requests from the Keycloak server.
- Author:
- Scott Rossillo
-
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
-
Method Summary
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
-
KeycloakCsrfRequestMatcher
public KeycloakCsrfRequestMatcher()
-
-
Method Details
-
matches
public boolean matches(javax.servlet.http.HttpServletRequest request) - Specified by:
matches
in interfaceorg.springframework.security.web.util.matcher.RequestMatcher
-