SetConsumerTokenInfoRequest request = (SetConsumerTokenInfoRequest) inActionContext.getParams();
SecurityToken securityToken = request.getSecurityToken();
TokenInfo tokenInfo = request.getTokenInfo();
OAuthConsumer consumer = consumerMapper.execute(new OAuthConsumerRequest(request.getServiceName(),
securityToken.getAppUrl()));
if (consumer != null)
{
OAuthToken token = new OAuthToken(consumer, securityToken.getViewerId(), securityToken.getOwnerId(),
tokenInfo.getAccessToken(), tokenInfo.getTokenSecret());