Class OAuth2ResourceServerConfigurerCustomer
java.lang.Object
cn.herodotus.engine.oauth2.authorization.servlet.OAuth2ResourceServerConfigurerCustomer
- All Implemented Interfaces:
org.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>
public class OAuth2ResourceServerConfigurerCustomer
extends Object
implements org.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>
Description: OAuth2ResourceServerConfigurer 扩展配置
- Author:
- : gengwei.zheng
- Date:
- : 2023/8/31 23:27
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2ResourceServerConfigurerCustomer(OAuth2AuthorizationProperties authorizationProperties, org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector) -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> configurer)
-
Constructor Details
-
OAuth2ResourceServerConfigurerCustomer
public OAuth2ResourceServerConfigurerCustomer(OAuth2AuthorizationProperties authorizationProperties, org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector opaqueTokenIntrospector)
-
-
Method Details
-
customize
public void customize(org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> configurer) - Specified by:
customizein interfaceorg.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>
-