Class OAuth2ResourceServerConfiguration.ResourceSecurityConfigurer
- java.lang.Object
- org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
- org.springframework.boot.autoconfigure.security.oauth2.resource.OAuth2ResourceServerConfiguration.ResourceSecurityConfigurer
- All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Enclosing class:
- OAuth2ResourceServerConfiguration
protected static class OAuth2ResourceServerConfiguration.ResourceSecurityConfigurer extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
Constructor Summary
Constructors Constructor Description ResourceSecurityConfigurer(ResourceServerProperties resource)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
void
configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
Constructor Detail
ResourceSecurityConfigurer
public ResourceSecurityConfigurer(ResourceServerProperties resource)
Method Detail
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources) throws Exception
- Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Overrides:
configure
in classorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
- Throws:
Exception
configure
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
- Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Overrides:
configure
in classorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
- Throws:
Exception