You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Shi Wang <cn...@gmail.com> on 2017/06/07 21:12:21 UTC

Re: Review Request 59494: ATLAS-1804 Allow PAM for authentication

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

(Updated June 7, 2017, 9:12 p.m.)


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 (updated)
-----

  webapp/pom.xml 4132912 
  webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java 80d6604 
  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/2/

Changes: https://reviews.apache.org/r/59494/diff/1-2/


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


Re: Review Request 59494: ATLAS-1804 Allow PAM for authentication

Posted by Nixon Rodrigues <ni...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59494/#review177295
-----------------------------------------------------------


Ship it!




Ship It!

- Nixon Rodrigues


On June 7, 2017, 9:12 p.m., Shi Wang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59494/
> -----------------------------------------------------------
> 
> (Updated June 7, 2017, 9:12 p.m.)
> 
> 
> 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 4132912 
>   webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java 80d6604 
>   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/2/
> 
> 
> 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
> 
>