@Configuration
@EnableResourceServer
public class ResourceServerConfig
extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
| 构造器和说明 |
|---|
ResourceServerConfig() |
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
throws Exception
configure 在接口中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerconfigure 在类中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapterExceptionpublic void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure 在接口中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerconfigure 在类中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapterExceptionCopyright © 2022. All rights reserved.