Spring Security 6.x RemoteJWKSet TTL 설정 방법
Spring Security 6.x에서는 NimbusJwtDecoder.withJwkSetUri(…).cache(…) 메서드를 사용해 Spring Cache 기반 JWKS 캐시를 주입하는 방식이 공식이며, TTL은 주입하는 Cache 구현체에서 제어합니다. 핵심 구조 Spring Security 6.x의 NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder는 cache(org.springframework.cache.Cache cache) 메서드를 제공하며, 이 캐시를 통해 JWK Set을 …