private static class ThriftHttpServlet.HttpKerberosServerAction extends Object implements PrivilegedExceptionAction<String>
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.hadoop.security.UserGroupInformation |
httpUGI |
(package private) String |
outToken |
(package private) javax.servlet.http.HttpServletRequest |
request |
| Constructor and Description |
|---|
HttpKerberosServerAction(javax.servlet.http.HttpServletRequest request,
org.apache.hadoop.security.UserGroupInformation httpUGI) |
| Modifier and Type | Method and Description |
|---|---|
private String |
getAuthHeader(javax.servlet.http.HttpServletRequest request)
Returns the base64 encoded auth header payload
|
String |
run() |
final javax.servlet.http.HttpServletRequest request
final org.apache.hadoop.security.UserGroupInformation httpUGI
HttpKerberosServerAction(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.security.UserGroupInformation httpUGI)
public String run() throws HttpAuthenticationException
run in interface PrivilegedExceptionAction<String>HttpAuthenticationExceptionprivate String getAuthHeader(javax.servlet.http.HttpServletRequest request) throws HttpAuthenticationException
HttpAuthenticationException - if a remote or network exception occursCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.