| java.lang.Object org.jgroups.auth.AuthToken
All known Subclasses: org.jgroups.auth.X509Token1_5, org.jgroups.auth.MD5Token, org.jgroups.auth.SimpleToken, org.jgroups.auth.FixedMembershipToken,
AuthToken | abstract public class AuthToken implements Serializable,Streamable(Code) | | Abstract AuthToken class used by implementations of AUTH, e.g. SimpleToken, X509Token1_5
author: Chris Mills |
Field Summary | |
final protected Log | log |
Method Summary | |
abstract public boolean | authenticate(AuthToken token, Message msg) This method should be implemented to perform the actual authentication of joining members. | abstract public String | getName() Used to return the full package and class name of the implementation. | abstract public void | setValue(Properties properties) Called during the setup of the AUTH protocol to pass property values from the JGroups config XML document to the implementing class. |
log | final protected Log log(Code) | | |
authenticate | abstract public boolean authenticate(AuthToken token, Message msg)(Code) | | This method should be implemented to perform the actual authentication of joining members.
Parameters: token - the token sent by the joiner Parameters: msg - the Message object containing the actual JOIN_REQ true if authenticaion passed or false if it failed. |
getName | abstract public String getName()(Code) | | Used to return the full package and class name of the implementation. This is used by the AUTH protocol to create an instance of the implementation.
a java.lang.String object of the package and class name |
setValue | abstract public void setValue(Properties properties)(Code) | | Called during the setup of the AUTH protocol to pass property values from the JGroups config XML document to the implementing class.
Parameters: properties - a java.util.Properties object of config parameters |
|
|