Class CommonJwtAuthenticationConverterConfiguration
java.lang.Object
org.activiti.cloud.services.common.security.config.CommonJwtAuthenticationConverterConfiguration
@Configuration
@EnableCaching
public class CommonJwtAuthenticationConverterConfiguration
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionCommonJwtAuthenticationConverterConfiguration(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt, org.springframework.security.authentication.AbstractAuthenticationToken> jwtAuthenticationConverter(JwtAccessTokenProvider jwtAccessTokenProvider, OAuth2UserServiceCacheable oAuth2UserServiceCacheable) voidsetIamName(String iamName) org.springframework.cache.caffeine.CaffeineCache
-
Constructor Details
-
CommonJwtAuthenticationConverterConfiguration
@Autowired public CommonJwtAuthenticationConverterConfiguration(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrationRepository)
-
-
Method Details
-
jwtAuthenticationConverter
@Bean("commonJwtAuthenticationConverter") @Order(-2147483648) public org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,org.springframework.security.authentication.AbstractAuthenticationToken> jwtAuthenticationConverter(JwtAccessTokenProvider jwtAccessTokenProvider, OAuth2UserServiceCacheable oAuth2UserServiceCacheable) -
oAuth2UserServiceCacheable
-
userInfoApiCallCache
@Bean public org.springframework.cache.caffeine.CaffeineCache userInfoApiCallCache() -
setIamName
-