Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
//KerberosAuthenticator.java if (conn.getResponseCode() == HttpURLConnection.HTTP_OK) { LOG.debug("JDK performed authentication on our behalf."); // If the JDK already did the SPNEGO back-and-forth for // us, just pull out the token. AuthenticatedURL.extractToken(conn, token); return; } else ...
The problem of the code above is that HTTP_OK does not implies authentication completed. We should check if the token can be extracted successfully.
This problem was reported by bowenzhangusa in this comment earlier.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-10078 KerberosAuthenticator always does SPNEGO
- Closed
- is related to
-
OOZIE-800 Job start/kill gives authorization error
- Resolved
- relates to
-
HADOOP-10417 There is no token for anonymous authentication
- Open
-
HADOOP-10416 For pseudo authentication, what to do if there is an expired token?
- Resolved