Package org.apache.druid.server.security
Class AuthenticationUtils
- java.lang.Object
-
- org.apache.druid.server.security.AuthenticationUtils
-
public class AuthenticationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthenticationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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
public static void addNoopAuthenticationAndAuthorizationFilters(org.eclipse.jetty.servlet.ServletContextHandler root, List<String> unsecuredPaths)
-
addNoopAuthorizationFilters
public static void addNoopAuthorizationFilters(org.eclipse.jetty.servlet.ServletContextHandler root, List<String> unsecuredPaths)
-
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)
-
-