public final class KeyManagerCredentialSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory
which sets the server's credential using the given key manager.delegate
Constructor and Description |
---|
KeyManagerCredentialSaslServerFactory(SaslServerFactory delegate,
X509KeyManager keyManager)
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 KeyManagerCredentialSaslServerFactory(SaslServerFactory delegate, X509KeyManager keyManager)
delegate
- the delegate SASL server factorykeyManager
- the key manager to use (must not be null
)public 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.