This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c11aba  SLING-10480 Password property in 
UserCredentialsDistributionTransportSecretProvider is visible as clear text in 
felix web console
     new f2534c4  Merge pull request #52 from sagarmiglani/SLING-10480
5c11aba is described below

commit 5c11aba42d82cd74f55d1835b5567cbb5df06f45
Author: Sagar Miglani <s...@adobe.com>
AuthorDate: Thu Jun 10 17:33:40 2021 +0530

    SLING-10480 Password property in 
UserCredentialsDistributionTransportSecretProvider is visible as clear text in 
felix web console
---
 .../impl/UserCredentialsDistributionTransportSecretProvider.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/distribution/transport/impl/UserCredentialsDistributionTransportSecretProvider.java
 
b/src/main/java/org/apache/sling/distribution/transport/impl/UserCredentialsDistributionTransportSecretProvider.java
index 0fb40cc..f6b879e 100644
--- 
a/src/main/java/org/apache/sling/distribution/transport/impl/UserCredentialsDistributionTransportSecretProvider.java
+++ 
b/src/main/java/org/apache/sling/distribution/transport/impl/UserCredentialsDistributionTransportSecretProvider.java
@@ -61,7 +61,7 @@ public class 
UserCredentialsDistributionTransportSecretProvider implements
     @Property(label = "User Name", description = "The name of the user used to 
perform remote actions.")
     private final static String USERNAME = "username";
 
-    @Property(label = "Password", description = "The clear text password to 
perform authentication. Warning: storing clear text passwords is not safe.")
+    @Property(passwordValue = "", label = "Password", description = "The clear 
text password to perform authentication. Warning: storing clear text passwords 
is not safe.")
     private final static String PASSWORD = "password";
 
     private String username;

Reply via email to