List of usage examples for org.springframework.security.config.annotation.web.builders WebSecurity ignoring
public IgnoredRequestConfigurer ignoring()
Allows adding RequestMatcher instances that Spring Security should ignore.
From source file:app.igogo.WebSecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { super.configure(web); //To change body of generated methods, choose Tools | Templates. web.ignoring().antMatchers("/"); }
From source file:cn.net.withub.demo.bootsec.hello.config.WebSecurityConfig.java
/** * * @param web/* ww w. j a v a2 s . c o m*/ * @throws Exception */ @Override public void configure(WebSecurity web) throws Exception { //? web.ignoring().antMatchers("/resources/**", "/js/**", "/css/**", "/image/**"); }
From source file:com.traffitruck.WebSecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { super.configure(web); web.ignoring().antMatchers("/css/**", "/js/**", "/images/**", "/mapsapis", "/postlogin"); }
From source file:com.iservport.auth.SecurityWebConfig.java
@Override public void configure(WebSecurity web) throws Exception { web //Spring Security ignores request to static resources such as CSS or JS files. .ignoring().antMatchers("/webjars/**", "/css/**", "/fonts/**", "/images/**", "/js/**") .antMatchers("/ng/**").antMatchers("/redactor/**").antMatchers("/locales/**") .antMatchers("/favicon.png").antMatchers("/app/status"); }
From source file:com.wiiyaya.consumer.web.initializer.config.SecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers(ConfigURIResource.PATH_STATIC_RESOURCE_REGX, ConfigURIResource.PATH_ERROR_REGX); }
From source file:de.dominikschadow.duke.encounters.config.WebSecurityConfig.java
@Override public void configure(WebSecurity web) { // @formatter:off web.ignoring().antMatchers("/css/**", "/img/**", "/webjars/**"); // @formatter:on }
From source file:de.fau.amos4.configuration.SecurityConfiguration.java
@Override public void configure(WebSecurity web) throws Exception { // /css/**, /js/** and /images/** is done by Spring Boot Security web.ignoring().antMatchers("/fonts/**"); }
From source file:cn.org.once.cstack.config.SecurityConfiguration.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/bower_components/*/**", "i18n/**", "css/**", "*.css", "*.js") .antMatchers("/fonts/**").antMatchers("/resources/**").antMatchers("/images/**") .antMatchers("/scripts/**").antMatchers("/api-docs", "/api-docs/*", "/styles/**", "/user/signin", "/user/activate/userEmail/**"); }
From source file:eu.openanalytics.WebSecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/css/**").and().ignoring().antMatchers("/webjars/**"); }
From source file:architecture.user.spring.config.SecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/decorators/**").antMatchers("/images/**").antMatchers("/fonts/**") .antMatchers("/includes/**").antMatchers("/js/**").antMatchers("/styles/**").antMatchers("/index.*") .antMatchers("/main.*").antMatchers(HttpMethod.POST, "/accounts/login"); }