[ 
https://issues.apache.org/jira/browse/HADOOP-11717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385091#comment-14385091
 ] 

Kai Zheng commented on HADOOP-11717:
------------------------------------

[~lmccay], looks like we don't consider token encryption and decryption, right ?

It's good to get this in since it gets the job well done. As I mentioned in 
this JIRA earlier and discussed in HADOOP-11766, we also have bunch of codes 
related this in TokenAuth related efforts. We're refining our existing codes 
and will break them down into smaller ones. We would incorporate this part 
rather than duplicating something. As already widely discussed and agreed, we 
need more generic token APIs and common pluggable and configurable facilities 
like token encoder, decoder and validation. We will refine our codes plus this 
work in tasks in HADOOP-11766. Thanks for the work !

> Add Redirecting WebSSO behavior with JWT Token in Hadoop Auth
> -------------------------------------------------------------
>
>                 Key: HADOOP-11717
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11717
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>         Attachments: HADOOP-11717-1.patch, HADOOP-11717-2.patch, 
> HADOOP-11717-3.patch, HADOOP-11717-4.patch, HADOOP-11717-5.patch, 
> HADOOP-11717-6.patch, HADOOP-11717-7.patch
>
>
> 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.



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

Reply via email to