Package org.entur.jwt.client.spring
Class JwtClientAutoConfiguration
java.lang.Object
org.entur.jwt.client.spring.JwtClientAutoConfiguration
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDynamically inject beans with ids so that they can be easily referenced with Qualifier annotation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneagerContextRefreshedListener(Map<String, AccessTokenProvider> providersById, SpringJwtClientProperties springJwtClientProperties) protected LonggetTimeout(Map<String, ? extends AbstractJwtClientProperties> map, Long timeout) protected LonggetTimeout(SpringJwtClientProperties properties) static org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessorjwtsHealthIndicator(Map<String, AccessTokenProvider> providers)
-
Constructor Details
-
JwtClientAutoConfiguration
public JwtClientAutoConfiguration()
-
-
Method Details
-
getTimeout
-
getTimeout
-
jwtClientBeanDefinitionRegistryPostProcessor
@Bean public static org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor jwtClientBeanDefinitionRegistryPostProcessor() -
jwtsHealthIndicator
@Bean @ConditionalOnEnabledHealthIndicator("jwts") public AccessTokenProviderHealthIndicator jwtsHealthIndicator(Map<String, AccessTokenProvider> providers) -
eagerContextRefreshedListener
@Bean public EagerContextStartedListener eagerContextRefreshedListener(Map<String, AccessTokenProvider> providersById, SpringJwtClientProperties springJwtClientProperties)
-