org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator
Class AgentAuthenticator
java.lang.Object
org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator
- Direct Known Subclasses:
- ThriftAgentAuthenticator
public abstract class AgentAuthenticator
- extends Object
Authenticates all data publishers
|
Constructor Summary |
AgentAuthenticator(org.apache.commons.pool.impl.GenericKeyedObjectPool secureTransportPool)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentAuthenticator
public AgentAuthenticator(org.apache.commons.pool.impl.GenericKeyedObjectPool secureTransportPool)
connect
public String connect(DataPublisherConfiguration dataPublisherConfiguration)
throws org.wso2.carbon.databridge.commons.exception.AuthenticationException,
org.wso2.carbon.databridge.commons.exception.TransportException,
AgentException
- Throws:
org.wso2.carbon.databridge.commons.exception.AuthenticationException
org.wso2.carbon.databridge.commons.exception.TransportException
AgentException
connect
protected abstract String connect(Object client,
String userName,
String password)
throws org.wso2.carbon.databridge.commons.exception.AuthenticationException,
AgentAuthenticatorException
- Throws:
org.wso2.carbon.databridge.commons.exception.AuthenticationException
AgentAuthenticatorException
disconnect
public void disconnect(DataPublisherConfiguration dataPublisherConfiguration)
getSecureTransportPool
public org.apache.commons.pool.impl.GenericKeyedObjectPool getSecureTransportPool()
disconnect
protected abstract void disconnect(Object client,
String sessionId)
throws AgentAuthenticatorException
- Throws:
AgentAuthenticatorException
Copyright © 2015 WSO2. All rights reserved.