You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2015/10/15 18:43:05 UTC

[jira] [Updated] (HADOOP-12481) JWTRedirectAuthenticationHandler doesn't Retain Original Query String

     [ https://issues.apache.org/jira/browse/HADOOP-12481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Larry McCay updated HADOOP-12481:
---------------------------------
    Description: 
An originally requested URL that contains a query string gets translated into an originalURL query parameter without the original query string.
This can cause the redirect back to the requested resource to be invalid.



  was:
Extend AltKerberosAuthenticationHandler to provide WebSSO flow for UIs.

The actual authentication is done by some external service that the handler will redirect to when there is no hadoop.auth cookie and no JWT token found in the incoming request.

Using JWT provides a number of benefits:

* It is not tied to any specific authentication mechanism - so buys us many SSO integrations
* It is cryptographically verifiable for determining whether it can be trusted
* Checking for expiration allows for a limited lifetime and window for compromised use

This will introduce the use of nimbus-jose-jwt library for processing, validating and parsing JWT tokens.




> JWTRedirectAuthenticationHandler doesn't Retain Original Query String
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-12481
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12481
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>             Fix For: 2.8.0
>
>
> An originally requested URL that contains a query string gets translated into an originalURL query parameter without the original query string.
> This can cause the redirect back to the requested resource to be invalid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)