public class LoginAdminServiceClient extends Object
| Constructor and Description |
|---|
LoginAdminServiceClient(String backEndUrl)
Creates a new LoginAdminServiceClient object and initialising the AuthenticationAdminStub
|
| Modifier and Type | Method and Description |
|---|---|
String |
authenticate(String userName,
String password)
This method is use to get authentication for accses admin services
|
public LoginAdminServiceClient(String backEndUrl) throws org.apache.axis2.AxisFault
backEndUrl - https server urlorg.apache.axis2.AxisFault - Throws this when AuthenticationAdminStub failed to initialisepublic String authenticate(String userName, String password) throws RemoteException, org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException
RemoteException - Throws this when failed connect with the AuthenticationAdminServiceorg.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException - Throws this when failed to authenticate with given username and passwordCopyright © 2017 WSO2. All rights reserved.