Class LegacyRealmListSaslServerFactory

java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslServerFactory
org.wildfly.security.sasl.util.LegacyRealmListSaslServerFactory
All Implemented Interfaces:
SaslServerFactory

public final class LegacyRealmListSaslServerFactory extends AbstractDelegatingSaslServerFactory
A SaslServerFactory which uses the AvailableRealmsCallback to populate the legacy WildFlySasl.REALM_LIST property, if needed by a mechanism.
Author:
Farah Juma
  • Field Details

  • Constructor Details

    • LegacyRealmListSaslServerFactory

      public LegacyRealmListSaslServerFactory(SaslServerFactory delegate)
      Construct a new instance. The delimiter that should be used to separate the realm names when populating the list of realms is assumed to be ' '. The escape character is assumed to be '\\'.
      Parameters:
      delegate - the delegate SaslServerFactory
    • LegacyRealmListSaslServerFactory

      public LegacyRealmListSaslServerFactory(SaslServerFactory delegate, char escapeCharacter, String delims)
      Construct a new instance.
      Parameters:
      delegate - the delegate SaslServerFactory
      escapeCharacter - the escape character to use when populating the list of realms
      delims - the delimiters that should be used to separate the realm names when populating the list of realms
    • LegacyRealmListSaslServerFactory

      public LegacyRealmListSaslServerFactory(SaslServerFactory delegate, char escapeCharacter, int... delims)
      Construct a new instance.
      Parameters:
      delegate - the delegate SaslServerFactory
      escapeCharacter - the escape character to use when populating the list of realms
      delims - the delimiters that should be used to separate the realm names when populating the list of realms
  • Method Details