public class TCPThriftAuthenticationService extends Object
| Constructor and Description |
|---|
TCPThriftAuthenticationService(String hostName,
int port,
long thriftSessionTimeOut) |
TCPThriftAuthenticationService(String hostName,
int port,
String keyStore,
String keyStorePassword,
int clientTimeout,
ThriftAuthenticatorService thriftAuthenticatorService) |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.utils.ThriftSession |
getSessionInfo(String sessionId) |
boolean |
isAuthenticated(String sessionId) |
void |
start() |
void |
stop() |
public TCPThriftAuthenticationService(String hostName, int port, String keyStore, String keyStorePassword, int clientTimeout, ThriftAuthenticatorService thriftAuthenticatorService)
public void start()
throws org.apache.thrift.transport.TTransportException,
UnknownHostException
org.apache.thrift.transport.TTransportExceptionUnknownHostExceptionpublic void stop()
public boolean isAuthenticated(String sessionId)
public org.wso2.carbon.utils.ThriftSession getSessionInfo(String sessionId)
Copyright © 2015 WSO2. All rights reserved.