Class ServerAuthUtils

java.lang.Object
org.apache.storm.security.auth.ServerAuthUtils

public class ServerAuthUtils extends Object
  • Constructor Details

    • ServerAuthUtils

      public ServerAuthUtils()
  • Method Details

    • getHttpCredentialsPlugin

      public static IHttpCredentialsPlugin getHttpCredentialsPlugin(Map<String,Object> conf, String klassName)
    • getUiHttpCredentialsPlugin

      public static IHttpCredentialsPlugin getUiHttpCredentialsPlugin(Map<String,Object> conf)
      Construct an HttpServletRequest credential plugin specified by the UI storm configuration.
      Parameters:
      conf - storm configuration
      Returns:
      the plugin
    • getDrpcHttpCredentialsPlugin

      public static IHttpCredentialsPlugin getDrpcHttpCredentialsPlugin(Map<String,Object> conf)
      Construct an HttpServletRequest credential plugin specified by the DRPC storm configuration.
      Parameters:
      conf - storm configuration
      Returns:
      the plugin