|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.ha.authenticator.SingleSignOnMessage
public class SingleSignOnMessage
Contains the SingleSignOn data, read and written by the ClusterSingleSignOn
Field Summary | |
---|---|
static int |
ADD_SESSION
|
static int |
DEREGISTER_SESSION
|
static int |
LOGOUT_SESSION
|
static int |
REGISTER_SESSION
|
static int |
REMOVE_SESSION
|
static int |
UPDATE_SESSION
|
Constructor Summary | |
---|---|
SingleSignOnMessage(Member source,
java.lang.String ssoId,
java.lang.String sessionId)
|
Method Summary | |
---|---|
int |
getAction()
|
Member |
getAddress()
Get the address that this message originated from. |
java.lang.String |
getAuthType()
|
java.lang.String |
getContextName()
|
java.lang.String |
getPassword()
|
SerializablePrincipal |
getPrincipal()
|
java.lang.String |
getSessionId()
|
java.lang.String |
getSsoId()
|
long |
getTimestamp()
Timestamp message. |
java.lang.String |
getUniqueId()
Each message must have a unique ID, in case of using async replication, and a smart queue, this id is used to replace messages not yet sent. |
java.lang.String |
getUsername()
|
void |
setAction(int action)
|
void |
setAddress(Member member)
Called by the cluster before sending it to the other nodes. |
void |
setAuthType(java.lang.String authType)
|
void |
setContextName(java.lang.String ctxname)
|
void |
setPassword(java.lang.String password)
|
void |
setPrincipal(SerializablePrincipal principal)
|
void |
setSessionId(java.lang.String sessionId)
|
void |
setSsoId(java.lang.String ssoId)
|
void |
setTimestamp(long timestamp)
Called by the cluster before sending out the message. |
void |
setUniqueId(java.lang.String uniqueId)
|
void |
setUsername(java.lang.String username)
|
java.lang.String |
toString()
Return a String rendering of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ADD_SESSION
public static final int DEREGISTER_SESSION
public static final int LOGOUT_SESSION
public static final int REGISTER_SESSION
public static final int UPDATE_SESSION
public static final int REMOVE_SESSION
Constructor Detail |
---|
public SingleSignOnMessage(Member source, java.lang.String ssoId, java.lang.String sessionId)
Method Detail |
---|
public Member getAddress()
getAddress
in interface ClusterMessage
public void setAddress(Member member)
setAddress
in interface ClusterMessage
member
- Memberpublic long getTimestamp()
getTimestamp
in interface ClusterMessage
public void setTimestamp(long timestamp)
setTimestamp
in interface ClusterMessage
timestamp
- The timestamppublic java.lang.String getUniqueId()
getUniqueId
in interface ClusterMessage
public void setUniqueId(java.lang.String uniqueId)
setUniqueId
in interface ClusterMessage
public int getAction()
public void setAction(int action)
public java.lang.String getSsoId()
public void setSsoId(java.lang.String ssoId)
public java.lang.String getContextName()
public void setContextName(java.lang.String ctxname)
public java.lang.String getSessionId()
public void setSessionId(java.lang.String sessionId)
public java.lang.String getAuthType()
public void setAuthType(java.lang.String authType)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public SerializablePrincipal getPrincipal()
public void setPrincipal(SerializablePrincipal principal)
public java.lang.String toString()
toString
in class java.lang.Object
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |