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.Filterpublic void init(javax.servlet.FilterConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionpublic void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionpublic void handleInteraction(HostRestrictingAuthorizationFilter.HttpInteraction interaction) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.