public class ResourceServerConfigurerAdapter extends Object implements ResourceServerConfigurer
Constructor and Description |
---|
ResourceServerConfigurerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
Use this to configure the access rules for secure resources.
|
void |
configure(ResourceServerSecurityConfigurer resources)
Add resource-server specific properties (like a resource id).
|
public void configure(ResourceServerSecurityConfigurer resources) throws Exception
ResourceServerConfigurer
configure
in interface ResourceServerConfigurer
resources
- configurer for the resource serverException
- if there is a problempublic void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
ResourceServerConfigurer
OAuth2WebSecurityExpressionHandler
by default.configure
in interface ResourceServerConfigurer
http
- the current http filter configurationException
- if there is a problemCopyright © 2019. All rights reserved.