## Uses of Class
org.jgroups.auth.AuthToken

Packages that use AuthToken
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.

### Uses of AuthToken in org.jgroups.auth

Subclasses of AuthToken in org.jgroups.auth
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.

Methods in org.jgroups.auth with parameters of type AuthToken
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.

### Uses of AuthToken in org.jgroups.protocols

Methods in org.jgroups.protocols that return AuthToken
Modifier and Type | Method and Description
--- | ---
`AuthToken` | AuthHeader.`getToken()` Used to get the token from the AuthHeader

Methods in org.jgroups.protocols with parameters of type AuthToken
Modifier and Type | Method and Description
--- | ---
`void` | AuthHeader.`setToken(AuthToken token)` Sets the token value to that of the passed in token object

### Uses of AuthToken in org.jgroups.util

Methods in org.jgroups.util that return AuthToken
Modifier and Type | Method and Description
--- | ---
`static AuthToken` | Util.`readAuthToken(java.io.DataInputStream in)`

Methods in org.jgroups.util with parameters of type AuthToken
Modifier and Type | Method and Description
--- | ---
`static void` | Util.`writeAuthToken(AuthToken token, java.io.DataOutputStream out)`