Class JWKSourceWithFailover<C extends SecurityContext>

    • Constructor Detail

      • JWKSourceWithFailover

        public JWKSourceWithFailover​(JWKSource<C> jwkSource,
                                     JWKSource<C> failoverJWKSource)
        Creates a new JWK source with optional failover.
        Parameters:
        jwkSource - The primary JWK source. Must not be null.
        failoverJWKSource - Optional failover JWK source if retrieval from the primary JWK source fails, null if no failover.