org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator
Class ThriftAgentAuthenticator

java.lang.Object
  extended by org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator
      extended by org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.ThriftAgentAuthenticator

public class ThriftAgentAuthenticator
extends AgentAuthenticator

Authenticates all data publishers


Constructor Summary
ThriftAgentAuthenticator(org.apache.commons.pool.impl.GenericKeyedObjectPool secureTransportPool)
           
 
Method Summary
protected  String connect(Object client, String userName, String password)
           
protected  void disconnect(Object client, String sessionId)
           
 
Methods inherited from class org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator
connect, disconnect, getSecureTransportPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftAgentAuthenticator

public ThriftAgentAuthenticator(org.apache.commons.pool.impl.GenericKeyedObjectPool secureTransportPool)
Method Detail

connect

protected String connect(Object client,
                         String userName,
                         String password)
                  throws org.wso2.carbon.databridge.commons.exception.AuthenticationException,
                         AgentAuthenticatorException
Specified by:
connect in class AgentAuthenticator
Throws:
org.wso2.carbon.databridge.commons.exception.AuthenticationException
AgentAuthenticatorException

disconnect

protected void disconnect(Object client,
                          String sessionId)
                   throws AgentAuthenticatorException
Specified by:
disconnect in class AgentAuthenticator
Throws:
AgentAuthenticatorException


Copyright © 2015 WSO2. All rights reserved.