-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59023/
-----------------------------------------------------------

Review request for atlas, Apoorv Naik, Ayub Pathan, Madhan Neethiraj, and 
Sarath Subramanian.


Repository: atlas


Description
-------

This patch includes change to support knox sso authentication from all 
user-agent when knox cookie header are being in request header.


Diffs
-----

  
webapp/src/main/java/org/apache/atlas/web/filters/AtlasKnoxSSOAuthenticationFilter.java
 c3219b9 


Diff: https://reviews.apache.org/r/59023/diff/1/


Testing
-------

Verified authentication from various scenarios.

* From Browser with Knox Authentication

* From Login Page browser

* From from Curl client with various header option

* With knox hadoop-jwt-cookie header
curl -kivL --negotiate -u :  http://<host>:21000/api/atlas/session --cookie 
"hadoop-jwt=eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlzcyI6IktOT1hTU08iLCJleHAiOjE0OTQyODc3MDF9.aj5E0bqTlmnn42gxBm0geogNpX6XwXaEFhDrt-0ANbQpsF2gL2Fn8Lb9hBu9x2R9WFiCv9Wc2H58mW93H_k17yQFqHnJc5OfFOnQ-oI4BYABe7Wi4HkmD3ocRHXc6coY9RbR7Tu6FYT-8ZNH99FgmU20XqXFnmTUgxQYSosjXzU"

* With Kerberos negotiate header
curl -kivL --negotiate -u :  http://<host>:21000/api/atlas/admin/session

* With Basic Auth Header
curl -kivL -u admin:admin  http://<host>:21000/api/atlas/session

* From Jersey Java Client ie verified Quick Start script


Thanks,

Nixon Rodrigues

Reply via email to