Class OAuth2UserServiceCacheable
java.lang.Object
org.activiti.cloud.services.common.security.jwt.OAuth2UserServiceCacheable
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2UserServiceCacheable(org.springframework.security.oauth2.client.userinfo.OAuth2UserService oAuth2UserService) -
Method Summary
-
Constructor Details
-
OAuth2UserServiceCacheable
public OAuth2UserServiceCacheable(org.springframework.security.oauth2.client.userinfo.OAuth2UserService oAuth2UserService)
-
-
Method Details
-
loadUser
@Cacheable(value="userInfoApiCall", key="#cacheKey", sync=true) public org.springframework.security.oauth2.core.user.OAuth2User loadUser(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest, String cacheKey) throws org.springframework.security.oauth2.core.OAuth2AuthenticationException - Throws:
org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
putUser
@CachePut(value="userInfoApiCall", key="#cacheKey") public org.springframework.security.oauth2.core.user.OAuth2User putUser(org.springframework.security.oauth2.core.user.OAuth2User user, String cacheKey)
-