Example usage for org.springframework.security.config.annotation.web.builders WebSecurity ignoring

List of usage examples for org.springframework.security.config.annotation.web.builders WebSecurity ignoring

Introduction

In this page you can find the example usage for org.springframework.security.config.annotation.web.builders WebSecurity ignoring.

Prototype

public IgnoredRequestConfigurer ignoring() 

Source Link

Document

Allows adding RequestMatcher instances that Spring Security should ignore.

Usage

From source file:org.ingini.spring.boot.mongodb.config.SecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/js/**", "/css/**");
}

From source file:pl.ething.config.SecurityConfiguration.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/public/**");
}

From source file:com.ce.app.config.SecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/js/**", "/clipone/**");
}

From source file:com.github.djabry.platform.vaadin.config.WebSecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/VAADIN/**");
}

From source file:org.shaigor.rest.retro.client.config.ClientSecurityConfigurer.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/js/**");
}

From source file:cz.muni.fi.editor.webapp.config.SecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/resources/**").antMatchers("/webjars/**");
}

From source file:org.owasp.webgoat.WebSecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/plugin_lessons/**", "/XXE/**");
}

From source file:net.przemkovv.sphinx.config.SecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {

    web.ignoring().antMatchers("/resources/**").antMatchers("/robots.txt").antMatchers("/favicon.ico")
            .antMatchers("/apple-touch-*.png").antMatchers("/crossdomain.xml").antMatchers("/template/**")
            .antMatchers("/resources.json").antMatchers("/error/**").antMatchers("/home")
            //                .antMatchers("/about")
            .antMatchers("/contact").antMatchers("/solutions").antMatchers("/solutions/**");

}

From source file:fi.helsinki.opintoni.config.LocalSecurityConfiguration.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers(RestConstants.PUBLIC_API_V1 + "/images/**");
}

From source file:th.co.geniustree.intenship.advisor.config.SecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    super.configure(web);
    web.ignoring().antMatchers("/console/*").antMatchers("/css/**").antMatchers("/datafullcalender/**")
            .antMatchers("/image/**").antMatchers("/js/**").antMatchers("/less/**").antMatchers("/material/**")
            .antMatchers("/css/**").antMatchers("/index.html").antMatchers("/scripts/**/*.{js,html}");
}