org.wso2.carbon.identity.thrift.authentication
Class TCPThriftAuthenticationService

java.lang.Object
  extended by org.wso2.carbon.identity.thrift.authentication.TCPThriftAuthenticationService

public class TCPThriftAuthenticationService
extends Object

The tcp Thrift Authentication service


Constructor Summary
TCPThriftAuthenticationService(String hostName, int port, AuthenticationHandler authenticationHandler, long thriftSessionTimeOut)
           
TCPThriftAuthenticationService(String hostName, int port, String keyStore, String keyStorePassword, int clientTimeout, ThriftAuthenticatorService thriftAuthenticatorService)
           
 
Method Summary
 org.wso2.carbon.utils.ThriftSession getSessionInfo(String sessionId)
           
 boolean isAuthenticated(String sessionId)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPThriftAuthenticationService

public TCPThriftAuthenticationService(String hostName,
                                      int port,
                                      String keyStore,
                                      String keyStorePassword,
                                      int clientTimeout,
                                      ThriftAuthenticatorService thriftAuthenticatorService)

TCPThriftAuthenticationService

public TCPThriftAuthenticationService(String hostName,
                                      int port,
                                      AuthenticationHandler authenticationHandler,
                                      long thriftSessionTimeOut)
                               throws Exception
Throws:
Exception
Method Detail

start

public void start()
           throws org.apache.thrift.transport.TTransportException,
                  UnknownHostException
Throws:
org.apache.thrift.transport.TTransportException
UnknownHostException

stop

public void stop()

isAuthenticated

public boolean isAuthenticated(String sessionId)

getSessionInfo

public org.wso2.carbon.utils.ThriftSession getSessionInfo(String sessionId)


Copyright © 2015 WSO2. All rights reserved.