Package org.jgroups.auth.sasl
Interface SaslContext
-
- All Known Implementing Classes:
SaslClientContext,SaslServerContext
public interface SaslContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddispose()booleanisSuccessful()booleanneedsWrapping()MessagenextMessage(Address address, SaslHeader saslHeader)byte[]unwrap(byte[] incoming, int offset, int len)byte[]wrap(byte[] outgoing, int offset, int len)
-
-
-
Method Detail
-
isSuccessful
boolean isSuccessful()
-
needsWrapping
boolean needsWrapping()
-
wrap
byte[] wrap(byte[] outgoing, int offset, int len) throws javax.security.sasl.SaslException- Throws:
javax.security.sasl.SaslException
-
unwrap
byte[] unwrap(byte[] incoming, int offset, int len) throws javax.security.sasl.SaslException- Throws:
javax.security.sasl.SaslException
-
dispose
void dispose()
-
nextMessage
Message nextMessage(Address address, SaslHeader saslHeader) throws javax.security.sasl.SaslException
- Throws:
javax.security.sasl.SaslException
-
-