public final class SSLSaslServerFactory extends AbstractDelegatingSaslServerFactory implements SaslServerFactory
delegate
Constructor and Description |
---|
SSLSaslServerFactory(SaslServerFactory delegate,
Supplier<SSLSession> sslSession)
Deprecated.
Use
SSLSaslServerFactory(Supplier, SaslServerFactory) to avoid problems where a TLS server is acting as a SASL client. |
SSLSaslServerFactory(Supplier<SSLConnection> sslConnectionSupplier,
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMechanismNames
public SSLSaslServerFactory(Supplier<SSLConnection> sslConnectionSupplier, SaslServerFactory delegate)
sslConnectionSupplier
- supplier for the current SSL connectiondelegate
- the delegate SASL server factory@Deprecated public SSLSaslServerFactory(SaslServerFactory delegate, Supplier<SSLSession> sslSession)
SSLSaslServerFactory(Supplier, SaslServerFactory)
to avoid problems where a TLS server is acting as a SASL client.sslSession
- supplier for the current SSL sessiondelegate
- 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.