|
Apache Tomcat 7.0.28 | ||||||||
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,
String ssoId,
String sessionId)
|
Method Summary | |
---|---|
int |
getAction()
|
Member |
getAddress()
Get the address that this message originated from. |
String |
getAuthType()
|
String |
getContextName()
|
String |
getPassword()
|
SerializablePrincipal |
getPrincipal()
|
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 |
setPrincipal(SerializablePrincipal principal)
|
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. |
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, String ssoId, 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 String getUniqueId()
getUniqueId
in interface ClusterMessage
public void setUniqueId(String uniqueId)
setUniqueId
in interface ClusterMessage
public int getAction()
public void setAction(int action)
public String getSsoId()
public void setSsoId(String ssoId)
public String getContextName()
public void setContextName(String ctxname)
public String getSessionId()
public void setSessionId(String sessionId)
public String getAuthType()
public void setAuthType(String authType)
public String getPassword()
public void setPassword(String password)
public String getUsername()
public void setUsername(String username)
public SerializablePrincipal getPrincipal()
public void setPrincipal(SerializablePrincipal principal)
public String toString()
toString
in class Object
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |