org.wso2.carbon.identity.thrift.authentication.internal
Class ThriftAuthenticatorServiceImpl
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThriftAuthenticatorServiceImpl
public ThriftAuthenticatorServiceImpl(AuthenticationHandler authenticationHandler,
org.wso2.carbon.user.core.service.RealmService realmService,
ThriftSessionDAO thriftSessionDAO,
long thriftSessionTimeOut)
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.