org.wso2.carbon.identity.thrift.authentication.internal
Class ThriftAuthenticatorServiceImpl

java.lang.Object
  extended by org.wso2.carbon.identity.thrift.authentication.internal.ThriftAuthenticatorServiceImpl
All Implemented Interfaces:
ThriftAuthenticatorService

public class ThriftAuthenticatorServiceImpl
extends Object
implements ThriftAuthenticatorService

This is a utility class that performs authentication related functionality by talking to back end authentication service.


Constructor Summary
ThriftAuthenticatorServiceImpl(AuthenticationHandler authenticationHandler, org.wso2.carbon.user.core.service.RealmService realmService, ThriftSessionDAO thriftSessionDAO, long thriftSessionTimeOut)
           
 
Method Summary
 String authenticate(String userName, String password)
           
 org.wso2.carbon.utils.ThriftSession getSessionInfo(String sessionId)
           
 boolean isAuthenticated(String sessionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftAuthenticatorServiceImpl

public ThriftAuthenticatorServiceImpl(AuthenticationHandler authenticationHandler,
                                      org.wso2.carbon.user.core.service.RealmService realmService,
                                      ThriftSessionDAO thriftSessionDAO,
                                      long thriftSessionTimeOut)
Method Detail

authenticate

public String authenticate(String userName,
                           String password)
                    throws AuthenticationException
Specified by:
authenticate in interface ThriftAuthenticatorService
Throws:
AuthenticationException

isAuthenticated

public boolean isAuthenticated(String sessionId)
Specified by:
isAuthenticated in interface ThriftAuthenticatorService

getSessionInfo

public org.wso2.carbon.utils.ThriftSession getSessionInfo(String sessionId)
Specified by:
getSessionInfo in interface ThriftAuthenticatorService


Copyright © 2015 WSO2. All rights reserved.