Class CsrfProtectionRequestMatcher
java.lang.Object
com.erudika.para.server.security.CsrfProtectionRequestMatcher
CSRF protection matcher - matches POST, PUT, PATCH, DELETE requests that are not in the ignored list and not
API or authentication requests. These requests will be rejected if they don't contain a valid CSRF token.
- Author:
- Alex Bogdanovski [[email protected]]
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.security.web.util.matcher.RequestMatcherAn instance of this class. -
Method Summary
-
Field Details
-
INSTANCE
public static final org.springframework.security.web.util.matcher.RequestMatcher INSTANCEAn instance of this class.
-
-
Method Details
-
matches
public boolean matches(jakarta.servlet.http.HttpServletRequest request) -
matcher
default org.springframework.security.web.util.matcher.RequestMatcher.MatchResult matcher(jakarta.servlet.http.HttpServletRequest arg0)
-