Package org.wso2.carbon.utils
Class ThriftSession
java.lang.Object
org.wso2.carbon.utils.ThriftSession
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttribute(String key) longlongSeparate method to retrieve carbon context holder since the attribute value is restricted.inthashCode()voidsetAttribute(String key, Object val) voidsetCreatedAt(long createdAt) voidsetLastAccess(long lastAccess) voidsetPassword(String password) voidsetSessionId(String sessionId) voidsetUserName(String userName)
-
Constructor Details
-
ThriftSession
public ThriftSession()
-
-
Method Details
-
getSessionId
-
setSessionId
-
getCreatedAt
public long getCreatedAt() -
setCreatedAt
public void setCreatedAt(long createdAt) -
getLastAccess
public long getLastAccess() -
setLastAccess
public void setLastAccess(long lastAccess) -
getUserName
-
setUserName
-
getPassword
-
setPassword
-
equals
-
hashCode
public int hashCode() -
setAttribute
-
getAttribute
- Throws:
Exception
-
getSessionCarbonContextHolder
Separate method to retrieve carbon context holder since the attribute value is restricted.- Returns:
-