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

(Updated June 8, 2016, 11:55 a.m.)


Review request for atlas, Gautam Borad, Madhan Neethiraj, Mehul Parikh, Shwetha 
GS, and Hemanth Yamijala.


Changes
-------

Fix for improper user name in kerberized setup. Changed the method to getName() 
from getPrincipal(), to obtain the user name from the Security Context.


Bugs: ATLAS-853
    https://issues.apache.org/jira/browse/ATLAS-853


Repository: atlas


Description
-------

Added new API /api/atlas/admin/session to obtain logged in user information. 
This is a part of Admin API.


Diffs (updated)
-----

  
authorization/src/main/java/org/apache/atlas/authorize/simple/AtlasAuthorizationUtils.java
 48b536f 
  dashboardv2/public/js/templates/business_catalog/BusinessCatalogHeader.html 
006fe0b 
  dashboardv2/public/js/templates/site/header.html 8c22e5a 
  dashboardv2/public/js/utils/CommonViewFunction.js d2de0dc 
  dashboardv2/public/js/utils/Globals.js 078881e 
  dashboardv2/public/js/views/business_catalog/BusinessCatalogHeader.js aad4bab 
  dashboardv2/public/js/views/site/Header.js cf97a75 
  
webapp/src/main/java/org/apache/atlas/web/filters/AtlasAuthorizationFilter.java 
d87120c 
  webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java 
36b7607 

Diff: https://reviews.apache.org/r/48339/diff/


Testing
-------

mvn install and package

The API call to test the result JSON :: /api/atlas/admin/session

Testing result :: {"userName":"admin","groups":["ADMIN"]}


Thanks,

Saqeeb Shaikh

Reply via email to