Examples of antMatchers()


Examples of org.springframework.security.config.annotation.web.builders.WebSecurity.IgnoredRequestConfigurer.antMatchers()

      if (this.errorController != null) {
        ignored.add(normalizePath(this.errorController.getErrorPath()));
      }
      if (this.server != null) {
        String[] paths = this.server.getPathsArray(ignored);
        ignoring.antMatchers(paths);
      }
    }

    private String normalizePath(String errorPath) {
      String result = StringUtils.cleanPath(errorPath);
View Full Code Here

Examples of org.springframework.security.config.annotation.web.builders.WebSecurity.IgnoredRequestConfigurer.antMatchers()

      List<String> ignored = getIgnored(this.security);
      if (this.errorController != null) {
        ignored.add(normalizePath(this.errorController.getErrorPath()));
      }
      String[] paths = this.server.getPathsArray(ignored);
      ignoring.antMatchers(paths);
    }

    private String normalizePath(String errorPath) {
      String result = StringUtils.cleanPath(errorPath);
      if (!result.startsWith("/")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.