public final class CredentialSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory
which sets the server's credential.delegate
Constructor and Description |
---|
CredentialSaslServerFactory(SaslServerFactory delegate,
Credential credential)
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 CredentialSaslServerFactory(SaslServerFactory delegate, Credential credential)
delegate
- the delegate SASL server factorycredential
- the server credential to usepublic 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.