类 OAuth2AuthorizationServletConfiguration
java.lang.Object
cn.herodotus.stirrup.oauth2.authorization.config.OAuth2AuthorizationServletConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnServletApplication
@EnableMethodSecurity(proxyTargetClass=true,
securedEnabled=true,
jsr250Enabled=true)
@Import(OAuth2ServletSessionConfiguration.class)
public class OAuth2AuthorizationServletConfiguration
extends Object
Description: SecurityAttribute 配置
- 作者:
- : gengwei.zheng
- Date:
- : 2022/1/23 15:42
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明oauth2AuthorizeHttpRequestsConfigurerCustomer(ServletOAuth2ResourceMatcherConfigurer servletOAuth2ResourceMatcherConfigurer, ServletSecurityAuthorizationManager servletSecurityAuthorizationManager) oauth2ResourceServerConfigurerCustomer(OAuth2AuthorizationProperties authorizationProperties, org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector) voidsecurityAttributeAnalyzer(SecurityAttributeStorage securityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer servletOAuth2ResourceMatcherConfigurer) servletSecurityAuthorizationManager(SecurityAttributeStorage securityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer servletOAuth2ResourceMatcherConfigurer)
-
构造器详细资料
-
OAuth2AuthorizationServletConfiguration
public OAuth2AuthorizationServletConfiguration()
-
-
方法详细资料
-
postConstruct
@PostConstruct public void postConstruct() -
securityMetadataSourceStorage
-
servletSecurityAuthorizationManager
@Bean @ConditionalOnMissingBean public ServletSecurityAuthorizationManager servletSecurityAuthorizationManager(SecurityAttributeStorage securityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer servletOAuth2ResourceMatcherConfigurer) -
oauth2AuthorizeHttpRequestsConfigurerCustomer
@Bean @ConditionalOnMissingBean public OAuth2AuthorizeHttpRequestsConfigurerCustomer oauth2AuthorizeHttpRequestsConfigurerCustomer(ServletOAuth2ResourceMatcherConfigurer servletOAuth2ResourceMatcherConfigurer, ServletSecurityAuthorizationManager servletSecurityAuthorizationManager) -
oauth2ResourceServerConfigurerCustomer
@Bean @ConditionalOnMissingBean public OAuth2ResourceServerConfigurerCustomer oauth2ResourceServerConfigurerCustomer(OAuth2AuthorizationProperties authorizationProperties, org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector) -
securityAttributeAnalyzer
@Bean @ConditionalOnMissingBean public SecurityAttributeAnalyzer securityAttributeAnalyzer(SecurityAttributeStorage securityAttributeStorage, ServletOAuth2ResourceMatcherConfigurer servletOAuth2ResourceMatcherConfigurer)
-