org.wso2.carbon.identity.thrift.authentication.dao
Interface ThriftSessionDAO
- All Known Implementing Classes:
- DBThriftSessionDAO, InMemoryThriftSessionDAO
public interface ThriftSessionDAO
Interface to manipulate thrift session info in database.
getAllSessions
List<org.wso2.carbon.utils.ThriftSession> getAllSessions()
throws org.wso2.carbon.identity.base.IdentityException
- Throws:
org.wso2.carbon.identity.base.IdentityException
isSessionExisting
boolean isSessionExisting(String sessionId)
throws org.wso2.carbon.identity.base.IdentityException
- Throws:
org.wso2.carbon.identity.base.IdentityException
addSession
void addSession(org.wso2.carbon.utils.ThriftSession session)
throws org.wso2.carbon.identity.base.IdentityException
- Throws:
org.wso2.carbon.identity.base.IdentityException
removeSession
void removeSession(String sessionId)
throws org.wso2.carbon.identity.base.IdentityException
- Throws:
org.wso2.carbon.identity.base.IdentityException
updateLastAccessTime
void updateLastAccessTime(String sessionId,
long lastAccessTime)
throws org.wso2.carbon.identity.base.IdentityException
- Throws:
org.wso2.carbon.identity.base.IdentityException
getSession
org.wso2.carbon.utils.ThriftSession getSession(String sessionId)
throws org.wso2.carbon.identity.base.IdentityException
- Throws:
org.wso2.carbon.identity.base.IdentityException
getInstance
ThriftSessionDAO getInstance()
Copyright © 2015 WSO2. All rights reserved.