public final class SocketAddressCallbackSaslClientFactory extends AbstractDelegatingSaslClientFactory
delegate
Constructor and Description |
---|
SocketAddressCallbackSaslClientFactory(SaslClientFactory delegate,
SocketAddress localAddress,
SocketAddress peerAddress)
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(SocketAddressCallbackSaslClientFactory other) |
delegatesThrough, getMechanismNames, hashCode, toString
public SocketAddressCallbackSaslClientFactory(SaslClientFactory delegate, SocketAddress localAddress, SocketAddress peerAddress)
delegate
- the delegate client factorylocalAddress
- the local socket address, or null
if unknownpeerAddress
- the peer socket address, or null
if unknownpublic 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(SocketAddressCallbackSaslClientFactory other)
protected int calculateHashCode()
AbstractDelegatingSaslClientFactory
calculateHashCode
in class AbstractDelegatingSaslClientFactory
Copyright © 2020 JBoss by Red Hat. All rights reserved.