Class SimpleSaslServerCallbackHandler

    • Constructor Detail

      • SimpleSaslServerCallbackHandler

        public SimpleSaslServerCallbackHandler​(boolean impersonationAllowed,
                                               PasswordProvider... providers)
        Constructor with different password providers.
        Parameters:
        impersonationAllowed - true if impersonation is allowed else false.
        providers - what will provide a password. They will be checked in order, and the first one to return a password wins.
      • SimpleSaslServerCallbackHandler

        public SimpleSaslServerCallbackHandler​(boolean impersonationAllowed,
                                               List<PasswordProvider> providers)
        Constructor with different password providers.
        Parameters:
        impersonationAllowed - true if impersonation is allowed else false.
        providers - what will provide a password. They will be checked in order, and the first one to return a password wins.