org.wso2.carbon.identity.thrift.authentication.dao
Class DBThriftSessionDAO
java.lang.Object
org.wso2.carbon.identity.thrift.authentication.dao.DBThriftSessionDAO
- All Implemented Interfaces:
- ThriftSessionDAO
public class DBThriftSessionDAO
- extends Object
- implements ThriftSessionDAO
Class to manipulate thrift session info in database.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBThriftSessionDAO
public DBThriftSessionDAO()
getAllSessions
public List<org.wso2.carbon.utils.ThriftSession> getAllSessions()
throws org.wso2.carbon.identity.base.IdentityException
- Specified by:
getAllSessions in interface ThriftSessionDAO
- Throws:
org.wso2.carbon.identity.base.IdentityException
isSessionExisting
public boolean isSessionExisting(String sessionId)
throws org.wso2.carbon.identity.base.IdentityException
- Specified by:
isSessionExisting in interface ThriftSessionDAO
- Throws:
org.wso2.carbon.identity.base.IdentityException
addSession
public void addSession(org.wso2.carbon.utils.ThriftSession session)
throws org.wso2.carbon.identity.base.IdentityException
- Specified by:
addSession in interface ThriftSessionDAO
- Throws:
org.wso2.carbon.identity.base.IdentityException
removeSession
public void removeSession(String sessionId)
throws org.wso2.carbon.identity.base.IdentityException
- Specified by:
removeSession in interface ThriftSessionDAO
- Throws:
org.wso2.carbon.identity.base.IdentityException
updateLastAccessTime
public void updateLastAccessTime(String sessionId,
long lastAccessTime)
throws org.wso2.carbon.identity.base.IdentityException
- Specified by:
updateLastAccessTime in interface ThriftSessionDAO
- Throws:
org.wso2.carbon.identity.base.IdentityException
getSession
public org.wso2.carbon.utils.ThriftSession getSession(String sessionId)
throws org.wso2.carbon.identity.base.IdentityException
- Specified by:
getSession in interface ThriftSessionDAO
- Throws:
org.wso2.carbon.identity.base.IdentityException
getInstance
public ThriftSessionDAO getInstance()
- Specified by:
getInstance in interface ThriftSessionDAO
Copyright © 2015 WSO2. All rights reserved.