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

Review request for atlas, Apoorv Naik and Nixon Rodrigues.


Repository: atlas


Description
-------

Atlas currently support File, Kerberos and Ldap authentication. An improvement 
feature will be adding PAM as another authentication type.


Diffs
-----

  webapp/pom.xml 045ccdb 
  
webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java
 953d737 
  
webapp/src/main/java/org/apache/atlas/web/security/AtlasPamAuthenticationProvider.java
 PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/security/PamLoginModule.java 
PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/security/PamPrincipal.java 
PRE-CREATION 
  webapp/src/main/java/org/apache/atlas/web/security/UserAuthorityGranter.java 
PRE-CREATION 


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


Testing
-------

create a pam file atlas-login under /etc/pam.d/

in the file using unix login module for testing.

content could be something like:
auth    sufficient        pam_unix.so
account sufficient        pam_unix.so

create a unix user with password.
login to atlas ui with the unix user will success.


Thanks,

Shi Wang

Reply via email to