Apache Tomcat 6.0.43

org.apache.catalina.ha.authenticator
Class ClusterSingleSignOnListener

java.lang.Object
  extended by org.apache.catalina.ha.ClusterListener
      extended by org.apache.catalina.ha.authenticator.ClusterSingleSignOnListener
All Implemented Interfaces:
ChannelListener

public class ClusterSingleSignOnListener
extends ClusterListener

Receive replicated SingleSignOnMessage form other cluster node.

Author:
Fabien Carrion

Field Summary
protected static java.lang.String info
          The descriptive information about this implementation.
 
Fields inherited from class org.apache.catalina.ha.ClusterListener
cluster, sm
 
Constructor Summary
ClusterSingleSignOnListener()
           
 
Method Summary
 boolean accept(ClusterMessage msg)
          Accept only SingleSignOnMessage
 ClusterSingleSignOn getClusterSSO()
           
 java.lang.String getInfo()
          Return descriptive information about this implementation.
 void messageReceived(ClusterMessage myobj)
          Callback from the cluster, when a message is received, The cluster will broadcast it invoking the messageReceived on the receiver.
 void setClusterSSO(ClusterSingleSignOn clusterSSO)
           
 
Methods inherited from class org.apache.catalina.ha.ClusterListener
accept, equals, getCluster, hashCode, messageReceived, setCluster
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected static final java.lang.String info
The descriptive information about this implementation.

See Also:
Constant Field Values
Constructor Detail

ClusterSingleSignOnListener

public ClusterSingleSignOnListener()
Method Detail

getInfo

public java.lang.String getInfo()
Return descriptive information about this implementation.


getClusterSSO

public ClusterSingleSignOn getClusterSSO()

setClusterSSO

public void setClusterSSO(ClusterSingleSignOn clusterSSO)

messageReceived

public void messageReceived(ClusterMessage myobj)
Callback from the cluster, when a message is received, The cluster will broadcast it invoking the messageReceived on the receiver.

Specified by:
messageReceived in class ClusterListener
Parameters:
myobj - ClusterMessage - the message received from the cluster

accept

public boolean accept(ClusterMessage msg)
Accept only SingleSignOnMessage

Specified by:
accept in class ClusterListener
Parameters:
msg - ClusterMessage
Returns:
boolean - returns true to indicate that messageReceived should be invoked. If false is returned, the messageReceived method will not be invoked.

Apache Tomcat 6.0.43

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.