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

(Updated July 1, 2016, 12:56 p.m.)


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


Changes
-------

Changes include changes for setting groups information from UGI for LDAP/AD 
type.
Added atlas.authentication.method.ldap.ugi-groups property for UGI group.


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


Repository: atlas


Description
-------

The patch includes changes for setting groups information from UGI in ldap type 
in which group information is not retrived from ldap directory.


Diffs (updated)
-----

  distro/src/conf/atlas-application.properties cc0e4c1 
  
webapp/src/main/java/org/apache/atlas/web/security/AtlasADAuthenticationProvider.java
 cf83109 
  
webapp/src/main/java/org/apache/atlas/web/security/AtlasAbstractAuthenticationProvider.java
 5f1a245 
  
webapp/src/main/java/org/apache/atlas/web/security/AtlasLdapAuthenticationProvider.java
 6d56453 

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


Testing
-------

ran mvn clean install 

created  user in ldap ambari-qa which has groups associated in UGI and logged 
in with it. groups retrived from UGI were proper. 
http://172.22.89.116:21000/api/atlas/admin/session 
{"userName":"ambari-qa","groups":["hadoop","users"]}

logged in with user ldapuser11 and no groups were set from UGI.
http://172.22.89.116:21000/api/atlas/admin/session 
{"userName":"ldapuser11","groups":[]}


Thanks,

Nixon Rodrigues

Reply via email to