|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2021 the original author or authors.
|
|
|
|
|
* Copyright 2012-2022 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -43,16 +43,14 @@ import org.springframework.security.web.SecurityFilterChain;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Configures a {@link JwtDecoder} when a JWK Set URI, OpenID Connect Issuer URI or Public
|
|
|
|
|
* Key configuration is available. Also configures a
|
|
|
|
|
* {@link org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter}
|
|
|
|
|
* if a {@link JwtDecoder} bean is found.
|
|
|
|
|
* Key configuration is available. Also configures a {@link SecurityFilterChain} if a
|
|
|
|
|
* {@link JwtDecoder} bean is found.
|
|
|
|
|
*
|
|
|
|
|
* @author Madhura Bhave
|
|
|
|
|
* @author Artsiom Yudovin
|
|
|
|
|
* @author HaiTao Zhang
|
|
|
|
|
*/
|
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
|
@SuppressWarnings("deprecation")
|
|
|
|
|
class OAuth2ResourceServerJwtConfiguration {
|
|
|
|
|
|
|
|
|
|
@Configuration(proxyBeanMethods = false)
|
|
|
|
|