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:blankd.acme.pet.licensing.config.security.WebSecurityConfig.java

@Override
public void configure(WebSecurity w) {
    w.ignoring().antMatchers(HttpMethod.OPTIONS, "/**");
}

From source file:com.hp.autonomy.frontend.find.core.beanconfiguration.SecurityConfiguration.java

@Override
public void configure(final WebSecurity web) {
    web.ignoring().antMatchers("/static-*/**");
}

From source file:com.springthunder.config.WebSecurityConfig.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers("/about", "/api", "/api-docs.json", "/swagger/**"); // #3
}

From source file:ca.qhrtech.security.BGLWebSecurityConfiguration.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().antMatchers(HttpMethod.POST, "/user").and().ignoring().antMatchers("/jsondoc-ui.html").and()
            .ignoring().antMatchers("/jsondoc");
}

From source file:com.ecsteam.cloudlaunch.config.SecurityConfiguration.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.ignoring().anyRequest();
}

From source file:some.test.config.SecurityConfig.java

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

From source file:com.example.AuthzApp.java

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

From source file:com.cletogadelha.WebSecurityConfiguration.java

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

From source file:com.create.application.configuration.security.WebSecurityConfiguration.java

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

From source file:org.zalando.stups.stupsback.admin.config.SecurityConfiguration.java

@Override
public void configure(final WebSecurity web) throws Exception {
    web.ignoring().antMatchers(OPTIONS);
}