public class HostRestrictingAuthorizationFilter extends Object implements javax.servlet.Filter
Modifier and Type | Class and Description |
---|---|
static interface |
HostRestrictingAuthorizationFilter.HttpInteraction |
Modifier and Type | Field and Description |
---|---|
static String |
HDFS_CONFIG_PREFIX |
static Predicate<String> |
RESTRICTED_OPERATIONS |
static String |
RESTRICTION_CONFIG |
Constructor and Description |
---|
HostRestrictingAuthorizationFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain) |
static Map<String,String> |
getFilterParams(org.apache.hadoop.conf.Configuration conf,
String confPrefix) |
void |
handleInteraction(HostRestrictingAuthorizationFilter.HttpInteraction interaction) |
void |
init(javax.servlet.FilterConfig config) |
public static final String HDFS_CONFIG_PREFIX
public static final String RESTRICTION_CONFIG
public static Map<String,String> getFilterParams(org.apache.hadoop.conf.Configuration conf, String confPrefix)
public void destroy()
destroy
in interface javax.servlet.Filter
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void handleInteraction(HostRestrictingAuthorizationFilter.HttpInteraction interaction) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.