Class CipherAuthToken
java.lang.Object
org.jgroups.auth.AuthToken
org.jboss.as.clustering.jgroups.auth.BinaryAuthToken
org.jboss.as.clustering.jgroups.auth.CipherAuthToken
- All Implemented Interfaces:
org.jgroups.util.Streamable
An AUTH token, functionally equivalent to
X509Token, but configured using Elytron resources.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from class org.jgroups.auth.AuthToken
auth, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(org.jgroups.auth.AuthToken token, org.jgroups.Message message) Methods inherited from class org.jboss.as.clustering.jgroups.auth.BinaryAuthToken
getName, getSharedSecret, readFrom, size, writeToMethods inherited from class org.jgroups.auth.AuthToken
destroy, init, setAuth, start, stop
-
Constructor Details
-
CipherAuthToken
public CipherAuthToken() -
CipherAuthToken
public CipherAuthToken(Cipher cipher, KeyPair pair, byte[] rawSharedSecret) throws InvalidKeyException, IllegalBlockSizeException, BadPaddingException
-
-
Method Details
-
authenticate
public boolean authenticate(org.jgroups.auth.AuthToken token, org.jgroups.Message message) - Overrides:
authenticatein classBinaryAuthToken
-