public final class PrivilegedSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory
whose SaslServer
instances evaluate challenges and wrap/unwrap requests in a
privileged context.delegate
Constructor and Description |
---|
PrivilegedSaslServerFactory(SaslServerFactory delegate)
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 PrivilegedSaslServerFactory(SaslServerFactory delegate)
delegate
- the delegate SASL server factorypublic 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.