public final class DisposedCallbackSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory
which detects SaslServer
disposal and calls the callback handler with a
SecurityLayerDisposedCallback
instance.delegate
Constructor and Description |
---|
DisposedCallbackSaslServerFactory(SaslServerFactory delegate)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
delegatesThrough, getMechanismNames, toString
public DisposedCallbackSaslServerFactory(SaslServerFactory delegate)
delegate
- the delegate SASL server factorypublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
createSaslServer
in class AbstractDelegatingSaslServerFactory
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.