List of usage examples for org.springframework.security.web.util.matcher RequestMatcher interface-usage
From source file org.mitre.eidas.CsrfSecurityRequestMatcher.java
/** * * @author mrwc1264 */ public class CsrfSecurityRequestMatcher implements RequestMatcher {
From source file cherry.foundation.springmvc.CsrfRequestMatcher.java
public class CsrfRequestMatcher implements RequestMatcher { private Pattern allowedMethods = Pattern.compile("^(GET|HEAD|TRACE|OPTIONS)$", Pattern.CASE_INSENSITIVE); private List<RequestMatcher> excludes = new ArrayList<>();
From source file grails.plugin.springsecurity.web.authentication.FilterProcessUrlRequestMatcher.java
/**
* Based on the class of the same name which is a private static inner class in
* org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.
*
* @author Ben Alex
* @author Luke Taylor
From source file com.erudika.para.security.RestRequestMatcher.java
/** * Rest request matcher - returns true if the request is RESTful. * True if the URI starts with /vX.Y.Z (.Y.Z are optional) * @author Alex Bogdanovski [alex@erudika.com] */ public final class RestRequestMatcher implements RequestMatcher {
From source file org.italiangrid.storm.webdav.authz.util.MethodRequestMatcher.java
public class MethodRequestMatcher implements RequestMatcher { private static final Logger logger = LoggerFactory.getLogger(MethodRequestMatcher.class); private final String[] methods;
From source file eu.supersede.fe.security.CsrfRequestMatcher.java
public class CsrfRequestMatcher implements RequestMatcher { private String[] permitUrls; private String[] allowedMethods = { "GET", "HEAD", "TRACE", "OPTIONS" }; private static final List<RequestMatcher> matchers = new ArrayList<>();
From source file org.italiangrid.storm.webdav.authz.util.HeaderRegexMatcher.java
public class HeaderRegexMatcher implements RequestMatcher { private static final Logger logger = LoggerFactory.getLogger(HeaderRegexMatcher.class); private final String headerName; private final String pattern;
From source file org.keycloak.adapters.springsecurity.authentication.HttpHeaderInspectingApiRequestMatcher.java
/**
* {@link RequestMatcher} that determines if a given request is an API request or an
* interactive login request.
*
* @author <a href="mailto:srossillo@smartling.com">Scott Rossillo</a>
* @see RequestMatcher
From source file org.springframework.security.web.util.matcher.NegatedRequestMatcher.java
/**
* A {@link RequestMatcher} that will negate the {@link RequestMatcher} passed in. For
* example, if the {@link RequestMatcher} passed in returns true,
* {@link NegatedRequestMatcher} will return false. If the {@link RequestMatcher} passed
* in returns false, {@link NegatedRequestMatcher} will return true.
*
From source file com.gisnet.cancelacion.config.CsrfUrlMatcher.java
/** * * @author marco-g8 */ public class CsrfUrlMatcher implements RequestMatcher { // ignorar GET, HEAD, TRACE, OPTIONS