Class NoopEscalator

java.lang.Object
org.apache.druid.server.security.NoopEscalator
All Implemented Interfaces:
Escalator

public class NoopEscalator extends Object implements Escalator
  • Constructor Details

    • NoopEscalator

      public NoopEscalator()
  • Method Details

    • getInstance

      public static NoopEscalator getInstance()
    • createEscalatedClient

      public HttpClient createEscalatedClient(HttpClient baseClient)
      Description copied from interface: Escalator
      Return a client that sends requests with the format/information necessary to authenticate successfully against this Escalator's authentication scheme using the identity of the internal system user.

      This HTTP client is used for internal communications between Druid nodes, such as when a broker communicates with a historical node during query processing.

      Specified by:
      createEscalatedClient in interface Escalator
      Parameters:
      baseClient - Base HTTP client for internal Druid communications
      Returns:
      metamx HttpClient that sends requests with the credentials of the internal system user
    • createEscalatedAuthenticationResult

      public AuthenticationResult createEscalatedAuthenticationResult()
      Specified by:
      createEscalatedAuthenticationResult in interface Escalator
      Returns:
      an AuthenticationResult representing the identity of the internal system user.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object