Package org.apache.hadoop.hbase.thrift
Class ThriftHttpServlet.HttpKerberosServerAction
java.lang.Object
org.apache.hadoop.hbase.thrift.ThriftHttpServlet.HttpKerberosServerAction
- All Implemented Interfaces:
PrivilegedExceptionAction<String>
- Enclosing class:
- ThriftHttpServlet
private static class ThriftHttpServlet.HttpKerberosServerAction
extends Object
implements PrivilegedExceptionAction<String>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHttpKerberosServerAction
(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.security.UserGroupInformation httpUGI) -
Method Summary
Modifier and TypeMethodDescriptionprivate String
getAuthHeader
(javax.servlet.http.HttpServletRequest request) Returns the base64 encoded auth header payloadrun()
-
Field Details
-
request
-
httpUGI
-
outToken
-
-
Constructor Details
-
HttpKerberosServerAction
HttpKerberosServerAction(javax.servlet.http.HttpServletRequest request, org.apache.hadoop.security.UserGroupInformation httpUGI)
-
-
Method Details
-
run
- Specified by:
run
in interfacePrivilegedExceptionAction<String>
- Throws:
HttpAuthenticationException
-
getAuthHeader
private String getAuthHeader(javax.servlet.http.HttpServletRequest request) throws HttpAuthenticationException Returns the base64 encoded auth header payload- Throws:
HttpAuthenticationException
- if a remote or network exception occurs
-