Package org.apache.druid.server.security
Class AuthenticationUtils
java.lang.Object
org.apache.druid.server.security.AuthenticationUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddAllowOptionsFilter(org.eclipse.jetty.servlet.ServletContextHandler root, boolean allowUnauthenticatedHttpOptions) static voidaddAuthenticationFilterChain(org.eclipse.jetty.servlet.ServletContextHandler root, List<Authenticator> authenticators) static voidaddNoopAuthenticationAndAuthorizationFilters(org.eclipse.jetty.servlet.ServletContextHandler root, List<String> unsecuredPaths) static voidaddNoopAuthorizationFilters(org.eclipse.jetty.servlet.ServletContextHandler root, List<String> unsecuredPaths) static voidaddPreResponseAuthorizationCheckFilter(org.eclipse.jetty.servlet.ServletContextHandler root, List<Authenticator> authenticators, com.fasterxml.jackson.databind.ObjectMapper jsonMapper) static voidaddSecuritySanityCheckFilter(org.eclipse.jetty.servlet.ServletContextHandler root, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
Constructor Details
-
AuthenticationUtils
public AuthenticationUtils()
-
-
Method Details
-
addAllowOptionsFilter
public static void addAllowOptionsFilter(org.eclipse.jetty.servlet.ServletContextHandler root, boolean allowUnauthenticatedHttpOptions) -
addAuthenticationFilterChain
public static void addAuthenticationFilterChain(org.eclipse.jetty.servlet.ServletContextHandler root, List<Authenticator> authenticators) -
addNoopAuthenticationAndAuthorizationFilters
-
addNoopAuthorizationFilters
-
addSecuritySanityCheckFilter
public static void addSecuritySanityCheckFilter(org.eclipse.jetty.servlet.ServletContextHandler root, com.fasterxml.jackson.databind.ObjectMapper jsonMapper) -
addPreResponseAuthorizationCheckFilter
public static void addPreResponseAuthorizationCheckFilter(org.eclipse.jetty.servlet.ServletContextHandler root, List<Authenticator> authenticators, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-