Methods Summary |
---|
public int | getAction()
return action;
|
public org.apache.catalina.tribes.Member | getAddress()Get the address that this message originated from. This would be set
if the message was being relayed from a host other than the one
that originally sent it.
return address;
|
public java.lang.String | getAuthType()
return authType;
|
public java.lang.String | getContextName()
return ctxname;
|
public java.lang.String | getPassword()
return password;
|
public java.lang.String | getSessionId()
return sessionId;
|
public java.lang.String | getSsoId()
return ssoId;
|
public long | getTimestamp()Timestamp message.
return timestamp;
|
public 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.
if (this.uniqueId != null)
return this.uniqueId;
StringBuffer result = new StringBuffer(getSsoId());
result.append("#-#");
result.append(System.currentTimeMillis());
return result.toString();
|
public java.lang.String | getUsername()
return username;
|
public void | setAction(int action)
this.action = action;
|
public void | setAddress(org.apache.catalina.tribes.Member member)Called by the cluster before sending it to the other
nodes.
this.address = member;
|
public void | setAuthType(java.lang.String authType)
this.authType = authType;
|
public void | setContextName(java.lang.String ctxname)
this.ctxname = ctxname;
|
public void | setPassword(java.lang.String password)
this.password = password;
|
public void | setSessionId(java.lang.String sessionId)
this.sessionId = sessionId;
|
public void | setSsoId(java.lang.String ssoId)
this.ssoId = ssoId;
|
public void | setTimestamp(long timestamp)Called by the cluster before sending out
the message.
this.timestamp = timestamp;
|
public void | setUniqueId(java.lang.String uniqueId)
this.uniqueId = uniqueId;
|
public void | setUsername(java.lang.String username)
this.username = username;
|
public java.lang.String | toString()Return a String rendering of this object.
StringBuffer sb = new StringBuffer("SingleSignOnMessage[action=");
sb.append(getAction()).append(", ssoId=").append(getSsoId());
sb.append(", sessionId=").append(getSessionId()).append(", username=");
sb.append(getUsername()).append("]");
return (sb.toString());
|