public abstract class AbstractDelegatingSaslClientFactory extends Object implements SaslClientFactory
SaslClientFactory
instances which delegate to another SaslClientFactory
.Modifier and Type | Field and Description |
---|---|
protected SaslClientFactory |
delegate
The delegate
SaslClientFactory . |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDelegatingSaslClientFactory(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 |
delegatesThrough(Class<? extends SaslClientFactory> factoryClass)
Determine whether this chain of delegating factories delegates through an instance of the given class.
|
boolean |
equals(AbstractDelegatingSaslClientFactory other) |
boolean |
equals(Object other) |
String[] |
getMechanismNames(Map<String,?> props) |
int |
hashCode() |
String |
toString() |
protected final SaslClientFactory delegate
SaslClientFactory
.protected AbstractDelegatingSaslClientFactory(SaslClientFactory delegate)
delegate
- the delegate client factorypublic final boolean delegatesThrough(Class<? extends SaslClientFactory> factoryClass)
factoryClass
- the SASL client factory classtrue
if this chain delegates through the factory class, false
otherwisepublic SaslClient createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslClient
in interface SaslClientFactory
SaslException
public String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslClientFactory
public boolean equals(AbstractDelegatingSaslClientFactory other)
protected int calculateHashCode()
Copyright © 2020 JBoss by Red Hat. All rights reserved.