public class SaslExtensionsCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
Constructor and Description |
---|
SaslExtensionsCallback() |
Modifier and Type | Method and Description |
---|---|
SaslExtensions |
extensions()
Returns always non-null
SaslExtensions consisting of the extension
names and values that are sent by the client to the server in the initial
client SASL authentication message. |
void |
extensions(SaslExtensions extensions)
Sets the SASL extensions on this callback.
|
public SaslExtensions extensions()
SaslExtensions
consisting of the extension
names and values that are sent by the client to the server in the initial
client SASL authentication message. The default value is
SaslExtensions.NO_SASL_EXTENSIONS
so that if this callback is
unhandled the client will see a non-null value.public void extensions(SaslExtensions extensions)
extensions
- the mandatory extensions to set