Class LoginLogoutClient
java.lang.Object
org.wso2.am.integration.test.utils.user.mgt.LoginLogoutClient
A utility for logging into invalid input: '&' logging out of Carbon servers
-
Constructor Summary
ConstructorsConstructorDescriptionLoginLogoutClient(org.wso2.carbon.automation.engine.context.AutomationContext context) -
Method Summary
-
Constructor Details
-
LoginLogoutClient
public LoginLogoutClient(org.wso2.carbon.automation.engine.context.AutomationContext context) throws MalformedURLException, XPathExpressionException, org.apache.axis2.AxisFault - Throws:
MalformedURLExceptionXPathExpressionExceptionorg.apache.axis2.AxisFault
-
-
Method Details
-
login
public String login() throws org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException, IOException, XMLStreamException, URISyntaxException, SAXException, XPathExpressionExceptionLog in to a Carbon server- Returns:
- The session cookie on successful login
- Throws:
org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionExceptionIOExceptionXMLStreamExceptionURISyntaxExceptionSAXExceptionXPathExpressionException
-
logout
public void logout() throws org.wso2.carbon.authenticator.stub.LogoutAuthenticationExceptionException, RemoteExceptionLog out from carbon server- Throws:
org.wso2.carbon.authenticator.stub.LogoutAuthenticationExceptionExceptionRemoteException
-