Package | Description |
---|---|
org.jgroups.auth | |
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Class and Description |
---|---|
class |
FixedMembershipToken
The FixedMemberShipToken object predefines a list of IP addresses and ports that can join the
group.
|
class |
MD5Token
This is an example of using a preshared token that is encrypted using an MD5/SHA hash for
authentication purposes.
|
class |
RegexMembership
Matches the IP address or logical name of a joiner against a regular expression and accepts or rejects based on
pattern matching
|
class |
SimpleToken
This is an example of using a preshared token for authentication purposes.
|
class |
X509Token
This is an example of using a preshared token that is encrypted using an X509 certificate for
authentication purposes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
X509Token.authenticate(AuthToken token,
Message msg) |
boolean |
SimpleToken.authenticate(AuthToken token,
Message msg) |
boolean |
RegexMembership.authenticate(AuthToken token,
Message msg) |
boolean |
MD5Token.authenticate(AuthToken token,
Message msg) |
boolean |
FixedMembershipToken.authenticate(AuthToken token,
Message msg) |
abstract boolean |
AuthToken.authenticate(AuthToken token,
Message msg)
This method should be implemented to perform the actual authentication of joining members.
|
Modifier and Type | Field and Description |
---|---|
protected AuthToken |
AUTH.auth_token
used on the coordinator to authentication joining member requests against
|
Modifier and Type | Method and Description |
---|---|
AuthToken |
AUTH.getAuthToken() |
AuthToken |
AuthHeader.getToken()
Used to get the token from the AuthHeader
|
Modifier and Type | Method and Description |
---|---|
void |
AUTH.setAuthToken(AuthToken token) |
void |
AuthHeader.setToken(AuthToken token)
Sets the token value to that of the passed in token object
|
Modifier and Type | Method and Description |
---|---|
static AuthToken |
Util.readAuthToken(DataInput in) |
Modifier and Type | Method and Description |
---|---|
static void |
Util.writeAuthToken(AuthToken token,
DataOutput out) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.