private Executor executor = Executors.newFixedThreadPool(1);
private static final String XWIKI_GROUP_MEMBERFIELD = "member";
private static final String XWIKI_GROUP_PREFIX = "XWiki.";
public void updateUserInfoAsync() throws MalformedURLException, URISyntaxException
{
final URI userInfoEndpoint = this.configuration.getUserInfoOIDCEndpoint();
final IDTokenClaimsSet idToken = this.configuration.getIdToken();
final BearerAccessToken accessToken = this.configuration.getAccessToken();
this.executor.execute(new ExecutionContextRunnable(new Runnable()
{
@Override
public void run()
{
try {
updateUserInfo(userInfoEndpoint, idToken, accessToken);
} catch (Exception e) {
LOGGER.error("Failed to update user informations", e);
}
}
}, this.componentManager));
}
'관심분야 > 업무개발' 카테고리의 다른 글
회계기본정보(2/2) (0) | 2019.08.21 |
---|---|
회계기본정보(1/2) (0) | 2019.08.21 |
제주지니 로그인/회원 가입 (0) | 2019.08.06 |