
public final class SSLSaslClientFactory extends AbstractDelegatingSaslClientFactory implements SaslClientFactory
delegate| Constructor and Description |
|---|
SSLSaslClientFactory(SaslClientFactory delegate,
Supplier<SSLSession> sslSession)
Deprecated.
Use
SSLSaslClientFactory(Supplier, SaslClientFactory) to avoid problems where a TLS client is acting as a SASL server. |
SSLSaslClientFactory(Supplier<SSLConnection> sslConnectionSupplier,
SaslClientFactory delegate)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
calculateHashCode()
Perform the calculation of the hash code of this factory.
|
SaslClient |
createSaslClient(String[] mechanisms,
String authorizationId,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
boolean |
equals(AbstractDelegatingSaslClientFactory other) |
boolean |
equals(Object other) |
boolean |
equals(SSLSaslClientFactory other) |
delegatesThrough, getMechanismNames, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetMechanismNamespublic SSLSaslClientFactory(Supplier<SSLConnection> sslConnectionSupplier, SaslClientFactory delegate)
sslConnectionSupplier - supplier of the current SSL connectiondelegate - the delegate SASL client factorypublic SSLSaslClientFactory(SaslClientFactory delegate, Supplier<SSLSession> sslSession)
SSLSaslClientFactory(Supplier, SaslClientFactory) to avoid problems where a TLS client is acting as a SASL server.delegate - the delegate SASL client factorysslSession - supplier of the current SSLSessionpublic SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient in interface SaslClientFactorycreateSaslClient in class AbstractDelegatingSaslClientFactorySaslExceptionpublic boolean equals(Object other)
equals in class AbstractDelegatingSaslClientFactorypublic boolean equals(AbstractDelegatingSaslClientFactory other)
equals in class AbstractDelegatingSaslClientFactorypublic boolean equals(SSLSaslClientFactory other)
protected int calculateHashCode()
AbstractDelegatingSaslClientFactorycalculateHashCode in class AbstractDelegatingSaslClientFactoryCopyright © 2020 JBoss by Red Hat. All rights reserved.