org.wso2.carbon.utils
Class ThriftSession
java.lang.Object
org.wso2.carbon.utils.ThriftSession
- All Implemented Interfaces:
- Serializable
public class ThriftSession
- extends Object
- implements Serializable
- See Also:
- Serialized Form
ThriftSession
public ThriftSession()
getSessionId
public String getSessionId()
setSessionId
public void setSessionId(String sessionId)
getCreatedAt
public long getCreatedAt()
setCreatedAt
public void setCreatedAt(long createdAt)
getLastAccess
public long getLastAccess()
setLastAccess
public void setLastAccess(long lastAccess)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
setAttribute
public void setAttribute(String key,
Object val)
getAttribute
public Object getAttribute(String key)
throws Exception
- Throws:
Exception
getSessionCarbonContextHolder
public CarbonContext getSessionCarbonContextHolder()
- Separate method to retrieve carbon context holder since the attribute value is restricted.
- Returns:
Copyright © 2014 WSO2 Inc. All rights reserved.