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
ResourceServerConfigurerconfigure in interface ResourceServerConfigurerresources - configurer for the resource serverException - if there is a problempublic void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
ResourceServerConfigurerOAuth2WebSecurityExpressionHandler by default.configure in interface ResourceServerConfigurerhttp - the current http filter configurationException - if there is a problemCopyright © 2019. All rights reserved.