Class AnonymousMechanism

  • All Implemented Interfaces:

    public class AnonymousMechanism
    extends AbstractMechanism
    Implements the Anonymous SASL authentication mechanism.
    • Field Detail


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

      • AnonymousMechanism

        public AnonymousMechanism()
    • Method Detail

      • getName

        public Symbol getName()
        the well known name of this SASL mechanism.
      • 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