| Modifier and Type | Field and Description |
|---|---|
| public static final byte[] | EMPTY_BYTES
A zero-length byte array, useful for sending and receiving empty SASL messages. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <T> void | |
| private static void | |
| private static void | |
| public static Map | Returns: the property mapthe option map optionMap, final boolean true if the channel is secure, false otherwiseCreate a SASL property map from an XNIO option map. |
| public static boolean | Returns: true if negotiation is complete and successful, false otherwisethe SASL client to use to evaluate the challenge message client, ByteBuffer the destination buffer into which the response message should be written, if any destination, ByteBuffer the source buffer from which the challenge message should be read source)Evaluate a sasl challenge. |
| public static byte[] | Returns: null if negotiation is complete and successful, or the response otherwisethe SASL client to use to evaluate the challenge message client, ByteBuffer the source buffer from which the challenge message should be read source)Evaluate a sasl challenge. |
| public static boolean | Returns: true if negotiation is complete and successful, false otherwisethe SASL server to use to evaluate the response message server, ByteBuffer the destination buffer into which the response message should be written, if any destination, ByteBuffer the source buffer from which the response message should be read source)Evaluate a sasl response. |
| public static byte[] | Returns: true if negotiation is complete and successful, false otherwisethe SASL server to use to evaluate the response message server, final ByteBuffer the source buffer from which the response message should be read source)Evaluate a sasl response. |
| private static <T> Iterator | |
| public static Iterator | Returns: theIterator of SaslClientFactorysthe class loader to use classLoader, boolean true to include globally registered providers, false to exclude themReturns an iterator of all of the registered |
| public static Iterator | Returns: theIterator of SaslClientFactorysReturns an iterator of all of the registered |
| public static Iterator | Returns: theIterator of SaslServerFactorysthe class loader to use classLoader, boolean true to include globally registered providers, false to exclude themReturns an iterator of all of the registered |
| public static Iterator | Returns: theIterator of SaslServerFactorysReturns an iterator of all of the registered |
| public static void | unwrap(SaslClient
the SASL client to unwrap with client, ByteBuffer the buffer into which bytes should be written destination, ByteBuffer the buffers from which bytes should be read source)Unwrap a message. |
| public static byte[] | Returns: the wrap resultthe SASL client to unwrap with client, final ByteBuffer the buffers from which bytes should be read source)Unwrap a message. |
| public static void | unwrap(SaslServer
the SASL server to unwrap with server, ByteBuffer the buffer into which bytes should be written destination, ByteBuffer the buffers from which bytes should be read source)Unwrap a message. |
| public static byte[] | Returns: the wrap resultthe SASL server to unwrap with server, final ByteBuffer the buffers from which bytes should be read source)Unwrap a message. |
| public static void | wrap(SaslClient
the SASL client to wrap with client, ByteBuffer the buffer into which bytes should be written destination, ByteBuffer the buffers from which bytes should be read source)Wrap a message. |
| public static byte[] | Returns: the wrap resultthe SASL client to wrap with client, final ByteBuffer the buffers from which bytes should be read source)Wrap a message. |
| public static void | wrap(SaslServer
the SASL server to wrap with server, ByteBuffer the buffer into which bytes should be written destination, ByteBuffer the buffers from which bytes should be read source)Wrap a message. |
| public static byte[] | Returns: the wrap resultthe SASL server to wrap with server, final ByteBuffer the buffers from which bytes should be read source)Wrap a message. |
| EMPTY_BYTES | back to summary |
|---|---|
| public static final byte[] EMPTY_BYTES A zero-length byte array, useful for sending and receiving empty SASL messages. | |
| SaslUtils | back to summary |
|---|---|
| private SaslUtils() | |
| add | back to summary |
|---|---|
| private static <T> void add(OptionMap optionMap, Option<T> option, Map<String, Object> map, String propName, T defaultVal) | |
| addQopList | back to summary |
|---|---|
| private static void addQopList(OptionMap optionMap, Option<Sequence<SaslQop>> option, Map<String, Object> map, String propName) | |
| addSaslProperties | back to summary |
|---|---|
| private static void addSaslProperties(OptionMap optionMap, Option<Sequence<Property>> option, Map<String, Object> map) | |
| createPropertyMap | back to summary |
|---|---|
| public static Map Create a SASL property map from an XNIO option map. | |
| evaluateChallenge | back to summary |
|---|---|
| public static boolean evaluateChallenge(SaslClient client, ByteBuffer destination, ByteBuffer source) throws SaslException Evaluate a sasl challenge. If the result is
The
| |
| evaluateChallenge | back to summary |
|---|---|
| public static byte[] evaluateChallenge(SaslClient client, ByteBuffer source) throws SaslException Evaluate a sasl challenge. If the result is non-
The
| |
| evaluateResponse | back to summary |
|---|---|
| public static boolean evaluateResponse(SaslServer server, ByteBuffer destination, ByteBuffer source) throws SaslException Evaluate a sasl response. If the result is
The
| |
| evaluateResponse | back to summary |
|---|---|
| public static byte[] evaluateResponse(final SaslServer server, final ByteBuffer source) throws SaslException Evaluate a sasl response. If the result is non-
The
| |
| getFactories | back to summary |
|---|---|
| private static <T> Iterator | |
| getSaslClientFactories | back to summary |
|---|---|
| public static Iterator Returns an iterator of all of the registered
| |
| getSaslClientFactories | back to summary |
|---|---|
| public static Iterator Returns an iterator of all of the registered
| |
| getSaslServerFactories | back to summary |
|---|---|
| public static Iterator Returns an iterator of all of the registered
| |
| getSaslServerFactories | back to summary |
|---|---|
| public static Iterator Returns an iterator of all of the registered
| |
| unwrap | back to summary |
|---|---|
| public static void unwrap(SaslClient client, ByteBuffer destination, ByteBuffer source) throws SaslException Unwrap a message. Unwrapping occurs from the source buffer to the destination idea.
The
| |
| unwrap | back to summary |
|---|---|
| public static byte[] unwrap(final SaslClient client, final ByteBuffer source) throws SaslException Unwrap a message. Unwrapping occurs from the source buffer to the destination idea.
The
| |
| unwrap | back to summary |
|---|---|
| public static void unwrap(SaslServer server, ByteBuffer destination, ByteBuffer source) throws SaslException Unwrap a message. Unwrapping occurs from the source buffer to the destination idea.
The
| |
| unwrap | back to summary |
|---|---|
| public static byte[] unwrap(final SaslServer server, final ByteBuffer source) throws SaslException Unwrap a message. Unwrapping occurs from the source buffer to the destination idea.
The
| |
| wrap | back to summary |
|---|---|
| public static void wrap(SaslClient client, ByteBuffer destination, ByteBuffer source) throws SaslException Wrap a message. Wrapping occurs from the source buffer to the destination idea.
The
| |
| wrap | back to summary |
|---|---|
| public static byte[] wrap(final SaslClient client, final ByteBuffer source) throws SaslException Wrap a message. Wrapping occurs from the source buffer to the destination idea.
The
| |
| wrap | back to summary |
|---|---|
| public static void wrap(SaslServer server, ByteBuffer destination, ByteBuffer source) throws SaslException Wrap a message. Wrapping occurs from the source buffer to the destination idea.
The
| |
| wrap | back to summary |
|---|---|
| public static byte[] wrap(final SaslServer server, final ByteBuffer source) throws SaslException Wrap a message. Wrapping occurs from the source buffer to the destination idea.
The
| |