org.wso2.carbon.utils
Class ThriftSession

java.lang.Object
  extended by org.wso2.carbon.utils.ThriftSession
All Implemented Interfaces:
Serializable

public class ThriftSession
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ThriftSession()
           
 
Method Summary
 boolean equals(Object o)
           
 Object getAttribute(String key)
           
 long getCreatedAt()
           
 long getLastAccess()
           
 String getPassword()
           
 CarbonContext getSessionCarbonContextHolder()
          Separate method to retrieve carbon context holder since the attribute value is restricted.
 String getSessionId()
           
 String getUserName()
           
 int hashCode()
           
 void setAttribute(String key, Object val)
           
 void setCreatedAt(long createdAt)
           
 void setLastAccess(long lastAccess)
           
 void setPassword(String password)
           
 void setSessionId(String sessionId)
           
 void setUserName(String userName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThriftSession

public ThriftSession()
Method Detail

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.