java.io.Serializable
, Streamable
FixedMembershipToken
, MD5Token
, SimpleToken
, X509Token
public abstract class AuthToken extends java.lang.Object implements java.io.Serializable, Streamable
Modifier and Type | Field | Description |
---|---|---|
protected org.apache.commons.logging.Log |
log |
Constructor | Description |
---|---|
AuthToken() |
Modifier and Type | Method | Description |
---|---|---|
abstract boolean |
authenticate(AuthToken token,
Message msg) |
This method should be implemented to perform the actual authentication of joining members.
|
abstract java.lang.String |
getName() |
Used to return the full package and class name of the implementation.
|
abstract void |
setValue(java.util.Properties properties) |
Called during the setup of the AUTH protocol to pass property values from the JGroups config XML document to the implementing class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readFrom, writeTo
public abstract java.lang.String getName()
public abstract void setValue(java.util.Properties properties)
properties
- a java.util.Properties object of config parameterspublic abstract boolean authenticate(AuthToken token, Message msg)
token
- the token sent by the joinermsg
- the Message object containing the actual JOIN_REQCopyright ? 1998-2008 Bela Ban. All Rights Reserved.