@Configuration
@ConditionalOnWebApplication
public class SecurityResourceServerConfiguration.ResourceServerConfiguration
extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
| 构造器和说明 |
|---|
ResourceServerConfiguration(org.springframework.security.oauth2.provider.endpoint.TokenEndpoint tokenEndpoint,
org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> webResponseExceptionTranslator,
URLFilterInvocationSecurityMetadataSource securityMetadataSource,
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter requestMappingHandlerAdapter) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.security.access.AccessDecisionManager |
accessDecisionManager() |
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources) |
public ResourceServerConfiguration(org.springframework.security.oauth2.provider.endpoint.TokenEndpoint tokenEndpoint,
org.springframework.security.oauth2.provider.error.WebResponseExceptionTranslator<org.springframework.security.oauth2.common.exceptions.OAuth2Exception> webResponseExceptionTranslator,
URLFilterInvocationSecurityMetadataSource securityMetadataSource,
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter requestMappingHandlerAdapter)
@Bean public org.springframework.security.access.AccessDecisionManager accessDecisionManager()
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
configure 在接口中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerconfigure 在类中 org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapterpublic 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.Exception