public class TCPThriftAuthenticationService extends Object
| Constructor and Description |
|---|
TCPThriftAuthenticationService(String hostName,
int port,
AuthenticationHandler authenticationHandler,
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 TCPThriftAuthenticationService(String hostName, int port, AuthenticationHandler authenticationHandler, long thriftSessionTimeOut) throws Exception
Exceptionpublic 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.