
public final class AvailableRealmsSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory which sets the server's available realms using the legacy WildFlySasl.REALM_LIST
property, if specified.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_DELIMITER |
static int |
DEFAULT_ESCAPE_CHARACTER |
delegate| Constructor and Description |
|---|
AvailableRealmsSaslServerFactory(SaslServerFactory delegate)
Construct a new instance.
|
AvailableRealmsSaslServerFactory(SaslServerFactory delegate,
int escapeCharacter,
int... delims)
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, toStringpublic static final int DEFAULT_DELIMITER
public static final int DEFAULT_ESCAPE_CHARACTER
public AvailableRealmsSaslServerFactory(SaslServerFactory delegate)
delegate - the delegate SaslServerFactorypublic AvailableRealmsSaslServerFactory(SaslServerFactory delegate, int escapeCharacter, int... delims)
delegate - the delegate SaslServerFactoryescapeCharacter - the escape characterdelims - the delimiters that separate the realm names in the list of realmspublic SaslServer createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws SaslException
createSaslServer in interface SaslServerFactorycreateSaslServer in class AbstractDelegatingSaslServerFactorySaslExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.