atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shi Wang <cntj...@gmail.com>
Subject Re: Review Request 59494: ATLAS-1804 Allow PAM for authentication
Date Wed, 07 Jun 2017 21:26:40 GMT


> On May 24, 2017, 8:48 a.m., Nixon Rodrigues wrote:
> > webapp/src/main/java/org/apache/atlas/web/security/UserAuthorityGranter.java
> > Lines 29 (patched)
> > <https://reviews.apache.org/r/59494/diff/1/?file=1729929#file1729929line29>
> >
> >     Remove this comment

Thanks for your review Nixon, I have addressed all the above issues in the new patch, please
take a look, thanks!


- Shi


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


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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message