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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getMechanismNames
public 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 SaslClientFactory
createSaslClient
in class AbstractDelegatingSaslClientFactory
SaslException
public boolean equals(Object other)
equals
in class AbstractDelegatingSaslClientFactory
public boolean equals(AbstractDelegatingSaslClientFactory other)
equals
in class AbstractDelegatingSaslClientFactory
public boolean equals(SSLSaslClientFactory other)
protected int calculateHashCode()
AbstractDelegatingSaslClientFactory
calculateHashCode
in class AbstractDelegatingSaslClientFactory
Copyright © 2020 JBoss by Red Hat. All rights reserved.