public class RegexMembership extends AuthToken
Modifier and Type | Field and Description |
---|---|
protected boolean |
match_ip_address |
protected boolean |
match_logical_name |
protected String |
match_string |
protected Pattern |
pattern |
Constructor and Description |
---|
RegexMembership() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(AuthToken token,
Message msg)
This method should be implemented to perform the actual authentication of joining members.
|
String |
getName()
Used to return the full package and class name of the implementation.
|
void |
init() |
void |
readFrom(DataInput in)
Required to deserialize the object when read in from the wire
|
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected String match_string
protected boolean match_ip_address
protected boolean match_logical_name
protected Pattern pattern
public String getName()
AuthToken
public boolean authenticate(AuthToken token, Message msg)
AuthToken
authenticate
in class AuthToken
token
- the token sent by the joinermsg
- the Message object containing the actual JOIN_REQpublic void writeTo(DataOutput out) throws Exception
Streamable
Exception
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.