org.jboss.web.tomcat.service.sso.spi
Class FullyQualifiedSessionId

java.lang.Object
  extended by org.jboss.web.tomcat.service.sso.spi.FullyQualifiedSessionId
All Implemented Interfaces:
Serializable

public class FullyQualifiedSessionId
extends Object
implements Serializable

Encapsulates a session id along with the name of the owning context and its hostname.

Version:
$Revision: 1 $
Author:
Brian Stansberry
See Also:
Serialized Form

Constructor Summary
FullyQualifiedSessionId(String sessionId, String contextName, String hostName)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getContextName()
          Get the contextPath.
 String getHostName()
          Get the hostName.
 String getSessionId()
          Get the sessionId.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FullyQualifiedSessionId

public FullyQualifiedSessionId(String sessionId,
                               String contextName,
                               String hostName)
Method Detail

getContextName

public String getContextName()
Get the contextPath.

Returns:
the contextPath.

getHostName

public String getHostName()
Get the hostName.

Returns:
the hostName.

getSessionId

public String getSessionId()
Get the sessionId.

Returns:
the sessionId.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.