@Configuration
@EnableResourceServer
@Import(value={CustomizeGlobalMethodSecurityConfiguration.class,ResourcesBeanConfig.class})
@EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties.class)
public class ResourcesServerAutoConfiguration
extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
| 构造器和说明 |
|---|
ResourcesServerAutoConfiguration() |
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
throws java.lang.Exception
configure 在接口中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerconfigure 在类中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapterjava.lang.Exceptionpublic void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws java.lang.Exception
configure 在接口中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerconfigure 在类中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapterjava.lang.ExceptionCopyright © 2021. All Rights Reserved.