org.wso2.carbon.event.client
Class AuthenticationClient

java.lang.Object
  extended by org.wso2.carbon.event.client.AuthenticationClient

public class AuthenticationClient
extends Object


Constructor Summary
AuthenticationClient(org.apache.axis2.context.ConfigurationContext configurationContext, String serviceUrl)
           
AuthenticationClient(String serviceUrl)
           
 
Method Summary
 boolean authenticate(String username, String password)
           
 String getSessionCookie()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationClient

public AuthenticationClient(org.apache.axis2.context.ConfigurationContext configurationContext,
                            String serviceUrl)
                     throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

AuthenticationClient

public AuthenticationClient(String serviceUrl)
                     throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

authenticate

public boolean authenticate(String username,
                            String password)
                     throws org.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException,
                            RemoteException
Throws:
org.wso2.carbon.event.client.stub.generated.authentication.AuthenticationExceptionException
RemoteException

getSessionCookie

public String getSessionCookie()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2015 WSO2. All rights reserved.