
public final class TrustManagerSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory which sets the trust manager that should be used for trust verification.delegate| Constructor and Description |
|---|
TrustManagerSaslServerFactory(SaslServerFactory delegate,
X509TrustManager trustManager)
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, toStringpublic TrustManagerSaslServerFactory(SaslServerFactory delegate, X509TrustManager trustManager)
delegate - the delegate SASL server factorytrustManager - the trust manager to use or null if the default trust manager should be usedpublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer in interface SaslServerFactorycreateSaslServer in class AbstractDelegatingSaslServerFactorySaslExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.