org.wso2.carbon.integration.common.admin.client.utils
Class AuthenticateStubUtil
java.lang.Object
org.wso2.carbon.integration.common.admin.client.utils.AuthenticateStubUtil
public class AuthenticateStubUtil
- extends Object
|
Method Summary |
static void |
authenticateStub(String userName,
String password,
org.apache.axis2.client.Stub stub)
Authenticate the given web service stub against the Product user manager. |
static void |
authenticateStub(String sessionCookie,
org.apache.axis2.client.Stub stub)
Stub authentication method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticateStubUtil
public AuthenticateStubUtil()
authenticateStub
public static void authenticateStub(String sessionCookie,
org.apache.axis2.client.Stub stub)
- Stub authentication method
- Parameters:
stub - valid stubsessionCookie - session cookie
authenticateStub
public static void authenticateStub(String userName,
String password,
org.apache.axis2.client.Stub stub)
- Authenticate the given web service stub against the Product user manager. This
will make it possible to use the stub for invoking Product admin services.
- Parameters:
stub - Axis2 service stub which needs to be authenticated
Copyright © 2015 WSO2. All rights reserved.