public final class SocketAddressCallbackSaslServerFactory extends AbstractDelegatingSaslServerFactory
delegate
Constructor and Description |
---|
SocketAddressCallbackSaslServerFactory(SaslServerFactory delegate,
SocketAddress localAddress,
SocketAddress peerAddress)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
delegatesThrough, getMechanismNames, toString
public SocketAddressCallbackSaslServerFactory(SaslServerFactory delegate, SocketAddress localAddress, SocketAddress peerAddress)
delegate
- the delegate server factorylocalAddress
- the local socket address, or null
if unknownpeerAddress
- the peer socket address, or null
if unknownpublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer
in interface SaslServerFactory
createSaslServer
in class AbstractDelegatingSaslServerFactory
SaslException
Copyright © 2020 JBoss by Red Hat. All rights reserved.