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

2020-06-30 Thread yangchengkai (Jira)


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

yangchengkai commented on ATLAS-3488:
-

[~nixon] 
Thanks for apply.
Our company use CDH 6.2.1 to management hadoop cluster, so the hive version of 
CDH 6.2.1 is hive 2.1.1.
Anyway I did not change the hive version to 2.1.1 in my pom cause many Chinese 
blogs tell me not to do so.
I decide to use Atlas 2.0.0 version, because many blogs use 2.0.0 to solve the 
CDH compatible problems.
Again thanks for you help.

> 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.07.patch, 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.

2020-06-30 Thread Nixon Rodrigues (Jira)


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

Nixon Rodrigues commented on ATLAS-3488:


[~18810276...@163.com]

"org.apache.hadoop.hive.metastore.api.Database.getCatalogName()"ERROR?

 This is issue is due to mismatch in hive version, Atlas expects hive with 
version 3.1.0.

 

from the logs from provided. 
{noformat}
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Call : GET 
api/atlas/v2/entity/uniqueAttribute/type/
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Content-type : 
application/json; charset=UTF-8
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Accept : 
application/json
17:47:41.283 [main] DEBUG org.apache.atlas.AtlasBaseClient - HTTP Status : 404
{noformat}
 its giving 404 since database do not exist in Atlas and authentication has 
passed. if there was authentication issue then it will give 401.

  

> 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.07.patch, 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.

2020-06-30 Thread yangchengkai (Jira)


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

yangchengkai commented on ATLAS-3488:
-

[~nixon] 
PS:
Is this the "Invalid salt version" Error caused my 
"org.apache.hadoop.hive.metastore.api.Database.getCatalogName()"ERROR?
I google and baidu around,and did not find the problems like this.

> 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.07.patch, 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.

2020-06-30 Thread yangchengkai (Jira)


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

yangchengkai commented on ATLAS-3488:
-

[~nixon],hi:

I can run quick-start.py successfully, this is my output:
root@master:/usr/local/src/atlas/apache-atlas-2.1.0# bin/quick_start.py 
Enter username for atlas :- admin
Enter password for atlas :- 

Creating sample types: 
Created type [DB]
Created type [Table]
Created type [StorageDesc]
Created type [Column]
Created type [LoadProcess]
Created type [LoadProcessExecution]
Created type [View]
Created type [JdbcAccess]
Created type [ETL]
Created type [Metric]
Created type [PII]
Created type [Fact]
Created type [Dimension]
Created type [Log Data]
Created type [Table_DB]
Created type [View_DB]
Created type [View_Tables]
Created type [Table_Columns]
Created type [Table_StorageDesc]

Creating sample entities: 
Created entity of type [DB], guid: 0809e0f7-b772-4521-bc5e-46192e3c0ef1
Created entity of type [DB], guid: 7a4ba630-2c18-49d9-ba65-d127a2b12a28
Created entity of type [DB], guid: 5effe5a7-7b4c-439a-9b3a-c523bebe2dfc
Created entity of type [Table], guid: 33578c65-ad00-4081-9bab-4fad7dfdc379



but when I run the import_hive.sh,it still output the same error on my console:


17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.927 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.927 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.927 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:41.047 [main] DEBUG org.apache.hadoop.security.SecurityUtil - Setting 
hadoop.security.token.service.use_ip to true
17:47:41.058 [main] DEBUG org.apache.hadoop.security.Groups -  Creating new 
Groups object
17:47:41.063 [main] DEBUG org.apache.hadoop.security.Groups - Group mapping 
impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; 
cacheTimeout=30; warningDeltaMs=5000
17:47:41.066 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
hadoop login
17:47:41.066 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
hadoop login commit
17:47:41.067 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
using local user:UnixPrincipal: root
17:47:41.067 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
Using user: "UnixPrincipal: root" with name root
17:47:41.067 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
User entry: "root"
17:47:41.068 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - UGI 
loginUser:root (auth:SIMPLE)
17:47:41.081 [main] INFO  hive.metastore - HMS client filtering is enabled.
17:47:41.081 [main] INFO  hive.metastore - Trying to connect to metastore with 
URI thrift://master:9083
17:47:41.094 [main] INFO  hive.metastore - Opened a connection to metastore, 
current connections: 1
17:47:41.097 [main] DEBUG org.apache.hadoop.security.Groups - GroupCacheLoader 
- load.
17:47:41.114 [main] INFO  hive.metastore - Connected to metastore.
17:47:41.255 [main] INFO  org.apache.atlas.hive.bridge.HiveMetaStoreBridge - 
Importing Hive metadata
17:47:41.260 [main] INFO  org.apache.atlas.hive.bridge.HiveMetaStoreBridge - 
Found 2 databases
17:47:41.264 [main] DEBUG org.apache.atlas.hive.bridge.HiveMetaStoreBridge - 
Searching Atlas for database default
17:47:41.268 [main] DEBUG org.apache.atlas.AtlasBaseClient - 
--
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Call : GET 
api/atlas/v2/entity/uniqueAttribute/type/
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Content-type : 
application/json; charset=UTF-8 
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Accept   : 
application/json 
17:47:41.283 [main] DEBUG org.apache.atlas.AtlasBaseClient - HTTP Status  : 404
Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.hadoop.hive.metastore.api.Database.getCatalogName()Ljava/lang/String;
at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getDatabaseName(HiveMetaStoreBridge.java:577)
at 

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

2020-06-30 Thread Nixon Rodrigues (Jira)


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

Nixon Rodrigues commented on ATLAS-3488:


[~18810276...@163.com],

I verified quick-start.py which is using same authentication route and its 
working correctly with admin/admin.

can you verify if you are using same users-credentials.properties file provided 
in 2.1.0-rc1  bits.

admin=ADMIN::a4a88c0872bf652bb9ed803ece5fd6e82354838a9bf59ab4babb1dab322154e1

> 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.07.patch, 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.

2020-06-30 Thread yangchengkai (Jira)


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

yangchengkai commented on ATLAS-3488:
-

Hi,I got this error in logs/application.log when I run ./bin/import_hive.sh:

 

2020-06-30 15:50:24,815 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt() 
(UserDao:159)
2020-06-30 15:50:24,816 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt(): 
failed (UserDao:168)
java.lang.IllegalArgumentException: Invalid salt version
 at org.springframework.security.crypto.bcrypt.BCrypt.hashpw(BCrypt.java:556)
 at org.springframework.security.crypto.bcrypt.BCrypt.checkpw(BCrypt.java:659)
 at org.apache.atlas.web.dao.UserDao.checkPasswordBCrypt(UserDao.java:165)
 at org.apache.atlas.web.dao.UserDao.checkEncrypted(UserDao.java:144)
 at 
org.apache.atlas.web.security.AtlasFileAuthenticationProvider.authenticate(AtlasFileAuthenticationProvider.java:65)
 at 
org.apache.atlas.web.security.AtlasAuthenticationProvider.authenticate(AtlasAuthenticationProvider.java:143)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199)
 at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:180)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:142)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
 at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
 at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
 at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
 at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
 at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
 at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
 at org.eclipse.jetty.server.Server.handle(Server.java:534)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
 at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
 at 

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

2019-11-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-3488:


Commit 96e497c48953d6974d9fe7e352a12feddeddf33c in atlas's branch 
refs/heads/branch-2.0 from Nixon Rodrigues
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=96e497c ]

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

(cherry picked from commit 25044cee5d945985aaadfc68e3da992eb4cc688e)


> 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.07.patch, 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-11-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-3488:


Commit b572eaafda56f744b1f7e8e589a6748d80f895d7 in atlas's branch 
refs/heads/branch-2.0 from Vishal Suvagia
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=b572eaa ]

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

Signed-off-by: nixonrodrigues 
(cherry picked from commit 5ae7fbecb3b02abe9aaa07e25e3b06073fd0c306)


> 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.07.patch, 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-11-03 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-3488:


Commit 5ae7fbecb3b02abe9aaa07e25e3b06073fd0c306 in atlas's branch 
refs/heads/master from Vishal Suvagia
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5ae7fbe ]

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

Signed-off-by: nixonrodrigues 


> 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.07.patch, 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-31 Thread Nixon Rodrigues (Jira)


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

Nixon Rodrigues commented on ATLAS-3488:


Thanks [~vishal.suvagia] for the addendum patch [^ATLAS-3488.07.patch] . The 
changes looks good.

Will commit it 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
> Fix For: 3.0.0
>
> Attachments: ATLAS-3488.07.patch, 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-31 Thread Vishal Suvagia (Jira)


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

Vishal Suvagia commented on ATLAS-3488:
---

Attaching addendum patch changes include : 
 Replacing {{textDevice.printf}} with {{System.out.println}} as the former 
gives error when the {{cputil.py}} script is called from another script, when 
called directly cputil.py works fine.
 Additionally adding a {{'s' as silent}} option which can be useful when the 
cputil.py is called from another script, output of which can be as shown below.
 When run without 's' option:
 * bin $ ./cputil.py -g -u admin -p admin
 Your encrypted Password is : 
a4a88c0872bf652bb9ed803ece5fd6e82354838a9bf59ab4babb1dab322154e1

When run with 's' option:
 * bin $ ./cputil.py -g -u admin -p admin -s
 a4a88c0872bf652bb9ed803ece5fd6e82354838a9bf59ab4babb1dab322154e1

> 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.07.patch, 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 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)