public final class LegacyRealmListSaslServerFactory extends AbstractDelegatingSaslServerFactory
SaslServerFactory
which uses the AvailableRealmsCallback
to populate the legacy
WildFlySasl.REALM_LIST
property, if needed by a mechanism.Modifier and Type | Field and Description |
---|---|
static char |
DEFAULT_DELIMITER |
static char |
DEFAULT_ESCAPE_CHARACTER |
delegate
Constructor and Description |
---|
LegacyRealmListSaslServerFactory(SaslServerFactory delegate)
Construct a new instance.
|
LegacyRealmListSaslServerFactory(SaslServerFactory delegate,
char escapeCharacter,
int... delims)
Construct a new instance.
|
LegacyRealmListSaslServerFactory(SaslServerFactory delegate,
char escapeCharacter,
String 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, toString
public static final char DEFAULT_DELIMITER
public static final char DEFAULT_ESCAPE_CHARACTER
public LegacyRealmListSaslServerFactory(SaslServerFactory delegate)
delegate
- the delegate SaslServerFactory
public LegacyRealmListSaslServerFactory(SaslServerFactory delegate, char escapeCharacter, String delims)
delegate
- the delegate SaslServerFactory
escapeCharacter
- the escape character to use when populating the list of realmsdelims
- the delimiters that should be used to separate the realm names when populating the list of realmspublic LegacyRealmListSaslServerFactory(SaslServerFactory delegate, char escapeCharacter, int... delims)
delegate
- the delegate SaslServerFactory
escapeCharacter
- the escape character to use when populating the list of realmsdelims
- the delimiters that should be used to separate the realm names when populating the list of realmspublic 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.