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:org.shaigor.rest.retro.service.security.config.OAuth2SecurityConfigurer.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/oauth/uncache_approvals", "/oauth/cache_approvals"); }
From source file:top.zhacker.passport.client.showcase.config.SecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/**/*.css", "/**/*.png", "/**/*.gif", "/**/*.jpg"); }
From source file:net.prasenjit.auth.config.SecurityConfig.java
/** * {@inheritDoc}// w ww .j av a 2 s .c om */ @Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/webjars/**", "/partials/**", "/", "/index.html"); }
From source file:br.com.joaops.smt.configuration.SecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/resources/**"); }
From source file:org.apache.nifi.minifi.c2.security.SecurityConfiguration.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/access", "/access/config", "/access/token", "/access/kerberos"); }
From source file:org.osiam.configuration.WebApplicationSecurity.java
public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/css/**", "/js/**"); }
From source file:org.dawnsci.marketplace.config.SecurityConfiguration.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/css/**").and().ignoring().antMatchers("/fonts/**").and().ignoring() .antMatchers("/images/**").and().ignoring().antMatchers("/js/**").and().ignoring() .antMatchers("/pages/**").and().ignoring().antMatchers("/files/**"); }
From source file:com.isalnikov.config.SecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/media/**/*.{js,html,css}").antMatchers("/favicon.ico", "/about", "/message/**") .antMatchers("/", "/invalidSession"); }
From source file:com.gopivotal.cla.security.SecurityConfiguration.java
@Override public void configure(WebSecurity web) throws Exception { web.ignoring().antMatchers("/", "/errors/**", "/resources/**"); }
From source file:com.juliuskrah.multipart.security.SecurityConfig.java
@Override public void configure(WebSecurity web) throws Exception { // @formatter:off web.ignoring().antMatchers(HttpMethod.OPTIONS, "/**") // what is this? .antMatchers("/css/**").antMatchers("/js/**"); // @formatter:on }