Class ExternalMechanism

  • All Implemented Interfaces:

    public class ExternalMechanism
    extends AbstractMechanism
    Implements the External SASL authentication mechanism.
    • Field Detail

      • EXTERNAL

        public static final Symbol EXTERNAL
        A singleton instance of the symbolic mechanism name.
    • Constructor Detail

      • ExternalMechanism

        public ExternalMechanism()
    • Method Detail

      • isApplicable

        public boolean isApplicable​(SaslCredentialsProvider credentials)
        Description copied from interface: Mechanism
        Allows the Mechanism to determine if it is a valid choice based on the configured credentials at the time of selection.
        credentials - the login credentials available at the time of mechanism selection.
        true if the mechanism can be used with the provided credentials
      • getName

        public Symbol getName()
        the well known name of this SASL mechanism.