Example usage for org.springframework.security.web.util.matcher AntPathRequestMatcher AntPathRequestMatcher

List of usage examples for org.springframework.security.web.util.matcher AntPathRequestMatcher AntPathRequestMatcher

Introduction

In this page you can find the example usage for org.springframework.security.web.util.matcher AntPathRequestMatcher AntPathRequestMatcher.

Prototype

public AntPathRequestMatcher(String pattern, String httpMethod, boolean caseSensitive) 

Source Link

Document

Creates a matcher with the supplied pattern which will match the specified Http method

Usage

From source file:org.italiangrid.storm.webdav.authz.util.CustomMethodAntPathRequestMatcher.java

public CustomMethodAntPathRequestMatcher(String method, String pattern, boolean caseSensitive) {

    Assert.hasText(method, "Please provide a non-empty method");
    Assert.hasText(pattern, "Please provide a non-empty pattern.");

    this.httpOrDAVMethod = method;
    this.antMatcher = new AntPathRequestMatcher(pattern, null, caseSensitive);
}