|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.stack.Protocol
org.jgroups.protocols.AUTH
public class AUTH
The AUTH protocol adds a layer of authentication to JGroups
| Field Summary |
|---|
| Fields inherited from class org.jgroups.stack.Protocol |
|---|
down_prot, log, stack, stats, up_prot |
| Constructor Summary | |
|---|---|
AUTH()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
down(Event evt)
An event is to be sent down the stack. |
protected java.util.List<java.lang.Object> |
getConfigurableObjects()
After configuring the protocol itself from the properties defined in the XML config, a protocol might have additional objects which need to be configured. |
java.lang.String |
getName()
All protocol names have to be unique ! |
void |
init()
Called after instance has been created (null constructor) and before protocol is started. |
void |
setAuthClass(java.lang.String class_name)
|
java.lang.Object |
up(Event evt)
An event was received from the layer below. |
| Methods inherited from class org.jgroups.stack.Protocol |
|---|
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getProperties, getProtocolStack, getThreadFactory, getTransport, getUpProtocol, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setProperties, setPropertiesInternal, setProperty, setProtocolStack, setUpProtocol, start, statsEnabled, stop, upThreadEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AUTH()
| Method Detail |
|---|
public void setAuthClass(java.lang.String class_name)
throws java.lang.Exception
java.lang.Exceptionpublic final java.lang.String getName()
Protocol
getName in class Protocolprotected java.util.List<java.lang.Object> getConfigurableObjects()
Protocol
getConfigurableObjects in class Protocol
public void init()
throws java.lang.Exception
Protocol
init in class Protocoljava.lang.Exception - Thrown if protocol cannot be initialized successfully. This will cause the
ProtocolStack to fail, so the channel constructor will throw an exceptionpublic java.lang.Object up(Event evt)
down_prot.down() or c) the event (or another event) is sent up
the stack using up_prot.up().
up in class Protocolpublic java.lang.Object down(Event evt)
down_prot.down(). In case of a GET_ADDRESS event (which tries to
retrieve the stack's address from one of the bottom layers), the layer may need to send
a new response event back up the stack using up_prot.up().
down in class Protocol
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||