public class Oauth2Resource
extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
Modifier and Type | Field and Description |
---|---|
protected SecurityContextManager |
securityContextManager
安全授权配置管理器
|
Constructor and Description |
---|
Oauth2Resource() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources) |
@Autowired protected SecurityContextManager securityContextManager
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
configure
in interface org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
configure
in class org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
configure
in interface org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
configure
in class org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
Exception
Copyright © 2021. All rights reserved.