public void registerOAuthConsumer(String consumerSecret) throws Exception {
String serviceURL = null;
ServiceClient client = null;
Options option = null;
OAuthAdminServiceStub oauth = null;
serviceURL = backendServerURL + "OAuthAdminService";
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);
}