org.apache.catalina.ha.authenticator
public class SingleSignOnMessage extends Object implements ClusterMessage, Serializable
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, String ssoId, String sessionId) |
Method Summary | |
---|---|
int | getAction() |
Member | getAddress()
Get the address that this message originated from. |
String | getAuthType() |
String | getContextName() |
String | getPassword() |
String | getSessionId() |
String | getSsoId() |
long | getTimestamp()
Timestamp message.
|
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.
|
String | getUsername() |
void | setAction(int action) |
void | setAddress(Member member)
Called by the cluster before sending it to the other
nodes.
|
void | setAuthType(String authType) |
void | setContextName(String ctxname) |
void | setPassword(String password) |
void | setSessionId(String sessionId) |
void | setSsoId(String ssoId) |
void | setTimestamp(long timestamp)
Called by the cluster before sending out
the message.
|
void | setUniqueId(String uniqueId) |
void | setUsername(String username) |
String | toString()
Return a String rendering of this object. |
Returns: long
Returns: String
Parameters: member Member
Parameters: timestamp The timestamp