org.apache.catalina.ha.authenticator

Class ClusterSingleSignOnListener

public class ClusterSingleSignOnListener extends ClusterListener

Receive replicated SingleSignOnMessage form other cluster node.

Author: Fabien Carrion

Field Summary
protected static Stringinfo
The descriptive information about this implementation.
Constructor Summary
ClusterSingleSignOnListener()
Method Summary
booleanaccept(ClusterMessage msg)
Accept only SingleSignOnMessage
ClusterSingleSignOngetClusterSSO()
StringgetInfo()
Return descriptive information about this implementation.
voidmessageReceived(ClusterMessage myobj)
Callback from the cluster, when a message is received, The cluster will broadcast it invoking the messageReceived on the receiver.
voidsetClusterSSO(ClusterSingleSignOn clusterSSO)

Field Detail

info

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

Constructor Detail

ClusterSingleSignOnListener

public ClusterSingleSignOnListener()

Method Detail

accept

public boolean accept(ClusterMessage msg)
Accept only SingleSignOnMessage

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.

getClusterSSO

public ClusterSingleSignOn getClusterSSO()

getInfo

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

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.

Parameters: myobj ClusterMessage - the message received from the cluster

setClusterSSO

public void setClusterSSO(ClusterSingleSignOn clusterSSO)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.