oauth = new OAuthAdminServiceStub(configCtx, serviceURL);
client = oauth._getServiceClient();
option = client.getOptions();
option.setManageSession(true);
option.setProperty(org.apache.axis2.transport.http.HTTPConstants.COOKIE_STRING, authCookie);
oauth.registerOAuthConsumer(consumerSecret);
}
public boolean validateAuthenticationRequest(String shortLivedToken, OAuthConsumerDTO consumer)
throws Exception {
String serviceURL = null;