public abstract class AuthToken extends java.lang.Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected AUTH |
auth
A reference to AUTH
|
protected Log |
log |
Constructor and Description |
---|
AuthToken() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
authenticate(AuthToken token,
Message msg)
This method should be implemented to perform the actual authentication of joining members.
|
void |
destroy() |
abstract java.lang.String |
getName()
Used to return the full package and class name of the implementation.
|
void |
init() |
void |
setAuth(AUTH auth) |
abstract int |
size()
The size of the marshalled AuthToken
|
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readFrom, writeTo
public void setAuth(AUTH auth)
public void init() throws java.lang.Exception
java.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception
public void stop()
public void destroy()
public abstract java.lang.String getName()
public abstract int size()
public abstract boolean authenticate(AuthToken token, Message msg)
token
- the token sent by the joinermsg
- the Message object containing the actual JOIN_REQCopyright © 1998-2020 Red Hat. All Rights Reserved.