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

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

Introduction

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

Prototype

SecurityExpressionHandler expressionHandler

To view the source code for org.springframework.security.config.annotation.web.builders WebSecurity expressionHandler.

Click Source Link

Usage

From source file:org.shaigor.rest.retro.security.gateway.config.OAuth2SecurityConfigurer.java

@Override
public void configure(WebSecurity web) throws Exception {
    web.expressionHandler(expressionHandler).ignoring().antMatchers("/oauth/uncache_approvals",
            "/oauth/cache_approvals");
}