public final class DisposedCallbackSaslClientFactory extends AbstractDelegatingSaslClientFactory
SaslClientFactory
which detects SaslClient
disposal and calls the callback handler with a
SecurityLayerDisposedCallback
instance.delegate
Constructor and Description |
---|
DisposedCallbackSaslClientFactory(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(DisposedCallbackSaslClientFactory other) |
boolean |
equals(Object other) |
delegatesThrough, getMechanismNames, hashCode, toString
public DisposedCallbackSaslClientFactory(SaslClientFactory delegate)
delegate
- the delegate SASL client factorypublic 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(DisposedCallbackSaslClientFactory other)
protected int calculateHashCode()
AbstractDelegatingSaslClientFactory
calculateHashCode
in class AbstractDelegatingSaslClientFactory
Copyright © 2021 JBoss by Red Hat. All rights reserved.