public class PropertiesSaslServerFactory extends AbstractDelegatingSaslServerFactory
delegate
Constructor and Description |
---|
PropertiesSaslServerFactory(SaslServerFactory delegate,
Map<String,?> properties)
Constructor
|
Modifier and Type | Method and Description |
---|---|
SaslServer |
createSaslServer(String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh) |
String[] |
getMechanismNames(Map<String,?> props) |
delegatesThrough, toString
public PropertiesSaslServerFactory(SaslServerFactory delegate, Map<String,?> properties)
delegate
- the underlying SaslServerFactoryproperties
- the propertiespublic String[] getMechanismNames(Map<String,?> props)
getMechanismNames
in interface SaslServerFactory
getMechanismNames
in class AbstractDelegatingSaslServerFactory
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.