Search in sources :

Example 1 with OAuth2MethodSecurityExpressionHandler

use of org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler in project SONG by overture-stack.

the class MethodSecurityConfig method createExpressionHandler.

@Override
protected MethodSecurityExpressionHandler createExpressionHandler() {
    OAuth2MethodSecurityExpressionHandler handler = new OAuth2MethodSecurityExpressionHandler();
    handler.setApplicationContext(context);
    return handler;
}
Also used : OAuth2MethodSecurityExpressionHandler(org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler)

Aggregations

OAuth2MethodSecurityExpressionHandler (org.springframework.security.oauth2.provider.expression.OAuth2MethodSecurityExpressionHandler)1