Class SimpleSaslServerCallbackHandler

java.lang.Object
org.apache.storm.security.auth.sasl.SimpleSaslServerCallbackHandler
All Implemented Interfaces:
CallbackHandler

public class SimpleSaslServerCallbackHandler extends Object implements CallbackHandler
  • Constructor Details

    • 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.
  • Method Details