public abstract class AgentAuthenticator extends Object
| Constructor and Description |
|---|
AgentAuthenticator(org.apache.commons.pool.impl.GenericKeyedObjectPool secureTransportPool) |
| Modifier and Type | Method and Description |
|---|---|
String |
connect(DataPublisherConfiguration dataPublisherConfiguration) |
protected abstract String |
connect(Object client,
String userName,
String password) |
void |
disconnect(DataPublisherConfiguration dataPublisherConfiguration) |
protected abstract void |
disconnect(Object client,
String sessionId) |
org.apache.commons.pool.impl.GenericKeyedObjectPool |
getSecureTransportPool() |
public AgentAuthenticator(org.apache.commons.pool.impl.GenericKeyedObjectPool secureTransportPool)
public String connect(DataPublisherConfiguration dataPublisherConfiguration) throws org.wso2.carbon.databridge.commons.exception.AuthenticationException, org.wso2.carbon.databridge.commons.exception.TransportException, AgentException
org.wso2.carbon.databridge.commons.exception.AuthenticationExceptionorg.wso2.carbon.databridge.commons.exception.TransportExceptionAgentExceptionprotected abstract String connect(Object client, String userName, String password) throws org.wso2.carbon.databridge.commons.exception.AuthenticationException, AgentAuthenticatorException
org.wso2.carbon.databridge.commons.exception.AuthenticationExceptionAgentAuthenticatorExceptionpublic void disconnect(DataPublisherConfiguration dataPublisherConfiguration)
public org.apache.commons.pool.impl.GenericKeyedObjectPool getSecureTransportPool()
protected abstract void disconnect(Object client, String sessionId) throws AgentAuthenticatorException
AgentAuthenticatorExceptionCopyright © 2015 WSO2. All rights reserved.