import org.apache.catalina.authenticator.SingleSignOn;
import org.apache.catalina.ha.CatalinaCluster;
import org.apache.catalina.ha.ClusterManager;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.tomcat.util.ExceptionUtils;
/**
* Start this component and implement the requirements
- * of {@link LifecycleBase#startInternal()}.
+ * of {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
/**
* Stop this component and implement the requirements
- * of {@link LifecycleBase#stopInternal()}.
+ * of {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
package org.apache.catalina.ha.authenticator;
-import java.io.Serializable;
-
import org.apache.catalina.ha.ClusterMessage;
import org.apache.catalina.tribes.Member;
* @author Fabien Carrion
*/
-public class SingleSignOnMessage implements ClusterMessage, Serializable {
+public class SingleSignOnMessage implements ClusterMessage {
+
+ private static final long serialVersionUID = 1L;
public static final int ADD_SESSION = 1;
public static final int DEREGISTER_SESSION = 2;
* if the message was being relayed from a host other than the one
* that originally sent it.
*/
+ @Override
public Member getAddress() {
return address;
}
*
* @param member Member
*/
+ @Override
public void setAddress(Member member) {
this.address = member;
}
*
* @return long
*/
+ @Override
public long getTimestamp() {
return timestamp;
}
*
* @param timestamp The timestamp
*/
+ @Override
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
*
* @return String
*/
+ @Override
public String getUniqueId() {
if (this.uniqueId != null)
return this.uniqueId;
return result.toString();
}
+ @Override
public void setUniqueId(String uniqueId) {
this.uniqueId = uniqueId;
}