public abstract class AuthToken extends 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.
|
abstract String |
getName()
Used to return the full package and class name of the implementation.
|
void |
init() |
void |
setAuth(AUTH auth) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readFrom, writeTo
public void setAuth(AUTH auth)
public void init()
public abstract String getName()
public abstract boolean authenticate(AuthToken token, Message msg)
token
- the token sent by the joinermsg
- the Message object containing the actual JOIN_REQCopyright © 2012 JBoss by Red Hat. All Rights Reserved.