Class OAuth2UserServiceCacheable
- java.lang.Object
-
- org.activiti.cloud.services.common.security.jwt.OAuth2UserServiceCacheable
-
public class OAuth2UserServiceCacheable extends Object
-
-
Constructor Summary
Constructors Constructor Description OAuth2UserServiceCacheable(org.springframework.security.oauth2.client.userinfo.OAuth2UserService oAuth2UserService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.core.user.OAuth2UserloadUser(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest)
-
-
-
Method Detail
-
loadUser
@Cacheable(value="userInfoApiCall", key="#userRequest.accessToken.tokenValue", sync=true) public org.springframework.security.oauth2.core.user.OAuth2User loadUser(org.springframework.security.oauth2.client.userinfo.OAuth2UserRequest userRequest) throws org.springframework.security.oauth2.core.OAuth2AuthenticationException- Throws:
org.springframework.security.oauth2.core.OAuth2AuthenticationException
-
-