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 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
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 Description abstract boolean
AuthToken. authenticate(AuthToken token, Message msg)
This method should be implemented to perform the actual authentication of joining members.boolean
FixedMembershipToken. authenticate(AuthToken token, Message msg)
boolean
MD5Token. authenticate(AuthToken token, Message msg)
boolean
SimpleToken. authenticate(AuthToken token, Message msg)
boolean
X509Token. authenticate(AuthToken token, Message msg)
-
Uses of AuthToken in org.jgroups.protocols
Methods in org.jgroups.protocols that return AuthToken Modifier and Type Method Description AuthToken
AuthHeader. getToken()
Used to get the token from the AuthHeaderMethods in org.jgroups.protocols with parameters of type AuthToken Modifier and Type Method 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 Description static AuthToken
Util. readAuthToken(java.io.DataInputStream in)
Methods in org.jgroups.util with parameters of type AuthToken Modifier and Type Method Description static void
Util. writeAuthToken(AuthToken token, java.io.DataOutputStream out)
-