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
public class CipherAuthToken extends BinaryAuthToken
An AUTH token, functionally equivalent toX509Token, but configured using Elytron resources.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CipherAuthToken()CipherAuthToken(Cipher cipher, KeyPair pair, byte[] rawSharedSecret)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthenticate(org.jgroups.auth.AuthToken token, org.jgroups.Message message)-
Methods inherited from class org.jboss.as.clustering.jgroups.auth.BinaryAuthToken
getName, getSharedSecret, readFrom, size, writeTo
-
-
-
-
Constructor Detail
-
CipherAuthToken
public CipherAuthToken()
-
CipherAuthToken
public CipherAuthToken(Cipher cipher, KeyPair pair, byte[] rawSharedSecret) throws InvalidKeyException, IllegalBlockSizeException, BadPaddingException
-
-
Method Detail
-
authenticate
public boolean authenticate(org.jgroups.auth.AuthToken token, org.jgroups.Message message)- Overrides:
authenticatein classBinaryAuthToken
-
-