* {@inheritDoc}. Set the OAuth Token info.
*/
@Override
public Serializable execute(final PrincipalActionContext inActionContext) throws ExecutionException
{
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());