[jira] [Resolved] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2019-10-30 Thread Madhan Neethiraj (Jira)


 [ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj resolved ATLAS-3488.
-
Fix Version/s: 3.0.0
   Resolution: Fixed

> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 71649: ATLAS-3486 Define Data Models For Namespaces and Namespace Attributes in Atlas

2019-10-30 Thread Sarath Subramanian

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


Ship it!




Ship It!

- Sarath Subramanian


On Oct. 24, 2019, 4:32 p.m., Aadarsh Jajodia wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71649/
> ---
> 
> (Updated Oct. 24, 2019, 4:32 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Sridhar K, Le Ma, Madhan 
> Neethiraj, and Sarath Subramanian.
> 
> 
> Bugs: ATLAS-3486
> https://issues.apache.org/jira/browse/ATLAS-3486
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> This change is the first part of the bigger task defined as part of 
> ATLAS-3485.
> This adds the data model needed for supporting namespaces and namespace 
> attributes
> 
> 
> Diffs
> -
> 
>   intg/src/main/java/org/apache/atlas/model/TypeCategory.java 
> f06f64f450f407e3f9a0e742726ff4dd12ccc695 
>   intg/src/main/java/org/apache/atlas/model/typedef/AtlasNamespaceDef.java 
> PRE-CREATION 
>   intg/src/main/java/org/apache/atlas/model/typedef/AtlasStructDef.java 
> e10965b870c4a300b41e93ee046b5f6d6b722728 
>   
> intg/src/test/java/org/apache/atlas/model/typedef/TestAtlasNamespaceDef.java 
> PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/71649/diff/2/
> 
> 
> Testing
> ---
> 
> Added unit tests
> 
> 
> Thanks,
> 
> Aadarsh Jajodia
> 
>



[jira] [Commented] (ATLAS-3489) Import API: missing entity in atlas after import

2019-10-30 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16963224#comment-16963224
 ] 

ASF subversion and git services commented on ATLAS-3489:


Commit b157d53e9cb94b4e5893bc7af2ab0710b361ea04 in atlas's branch 
refs/heads/branch-2.0 from Ashutosh Mestry
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=b157d53 ]

ATLAS-3489: Import API: Deleted entity handling improvement.gs


> Import API: missing entity in atlas after import
> 
>
> Key: ATLAS-3489
> URL: https://issues.apache.org/jira/browse/ATLAS-3489
> Project: Atlas
>  Issue Type: Bug
>Reporter: Nikhil Bonte
>Assignee: Nikhil Bonte
>Priority: Major
> Attachments: 
> ATLAS-3489-Import-API-Deleted-entity-handling-improv.patch, 
> dup_col_deleted.zip
>
>
> Case :
> *Input :*
>         Consider case where input zip contains hive_table which has 2 
> hive_columns with same _qualifiedName_ but different _entityStatus_.
>         One of the columns is _ACTIVE_ while other is _DELETED_.
> *Expected Result :*
>         Imported table must contain 2 columns with same qualifiedName but 
> with different entityStatus.
> *Actual Result :*
>          Imported table has 1 column with guid of ACTIVE column from input 
> zip & entityStatus as DELETED.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2019-10-30 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16963076#comment-16963076
 ] 

ASF subversion and git services commented on ATLAS-3488:


Commit 25044cee5d945985aaadfc68e3da992eb4cc688e in atlas's branch 
refs/heads/master from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=25044ce ]

ATLAS-3488 :- Update Simple Authentication(file-based) password with 
ShaPasswordEncoder with Salt.


> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Attachments: ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2019-10-30 Thread Nixon Rodrigues (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16962951#comment-16962951
 ] 

Nixon Rodrigues commented on ATLAS-3488:


Thanks [~mad...@apache.org], [~amestry] and Sarath for the reviews.

I will commit this patch soon.

> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Attachments: ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2019-10-30 Thread Nixon Rodrigues (Jira)


 [ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nixon Rodrigues updated ATLAS-3488:
---
Summary: Update with Filebased auth password with ShaPasswordEncoder with 
salt.  (was: Update with Filebase auth password with ShaPasswordEncoder with 
salt.)

> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Attachments: ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (ATLAS-3488) Update with Filebase auth password with ShaPasswordEncoder with salt.

2019-10-30 Thread Nixon Rodrigues (Jira)


 [ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nixon Rodrigues reassigned ATLAS-3488:
--

Assignee: Nixon Rodrigues

> Update with Filebase auth password with ShaPasswordEncoder with salt.
> -
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Attachments: ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (ATLAS-3488) Update with Filebase auth password with ShaPasswordEncoder with salt.

2019-10-30 Thread Nixon Rodrigues (Jira)


 [ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nixon Rodrigues updated ATLAS-3488:
---
Attachment: ATLAS-3488.6.patch

> Update with Filebase auth password with ShaPasswordEncoder with salt.
> -
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Priority: Major
> Attachments: ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Review Request 71637: ATLAS-3488 Update with Filebase auth password with ShaPasswordEncoder with salt

2019-10-30 Thread Nixon Rodrigues

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

(Updated Oct. 30, 2019, 9:40 a.m.)


Review request for atlas, Madhan Neethiraj, Nixon Rodrigues, Sarath 
Subramanian, and Vishal Suvagia.


Changes
---

Update patch with review comments from Madhan.


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


Repository: atlas


Description
---

This patch updates the password encoder for filebased authentication with 
Sha256PasswordEncoder with salt.

Updated the password in user-credentials file.


Also added utility generate password with Sha256 encoding with Salt.

 bin $ ./cputil.py -g -u admin -p admin

Your encrypted Password is  : 
a4a88c0872bf652bb9ed803ece5fd6e82354838a9bf59ab4babb1dab322154e1


Diffs (updated)
-

  addons/falcon-bridge/src/test/resources/users-credentials.properties 
3fc3bb172 
  addons/hbase-bridge/src/test/resources/users-credentials.properties 3fc3bb172 
  addons/hive-bridge/src/test/resources/users-credentials.properties 3fc3bb172 
  addons/impala-bridge/src/test/resources/users-credentials.properties 
3fc3bb172 
  addons/kafka-bridge/src/test/resources/users-credentials.properties 3fc3bb172 
  addons/sqoop-bridge/src/test/resources/users-credentials.properties 3fc3bb172 
  addons/storm-bridge/src/test/resources/users-credentials.properties 3fc3bb172 
  distro/src/conf/users-credentials.properties 3fc3bb172 
  intg/src/test/resources/users-credentials.properties 3fc3bb172 
  webapp/src/main/java/org/apache/atlas/util/CredentialProviderUtility.java 
e9fd2044a 
  webapp/src/main/java/org/apache/atlas/web/dao/UserDao.java b461a6a5c 
  
webapp/src/main/java/org/apache/atlas/web/security/AtlasFileAuthenticationProvider.java
 f177fd4ee 
  
webapp/src/test/java/org/apache/atlas/web/security/FileAuthenticationTest.java 
fe2060a2b 
  webapp/src/test/resources/users-credentials.properties 3fc3bb172 


Diff: https://reviews.apache.org/r/71637/diff/4/

Changes: https://reviews.apache.org/r/71637/diff/3-4/


Testing
---

tested Atlas login with valid and invalid username/password.
tested Atlas login with valid user and v1 password.


https://builds.apache.org/job/PreCommit-ATLAS-Build-Test/1488/console


Thanks,

Nixon Rodrigues