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