]> source.dussan.org Git - archiva.git/commitdiff
Adding toString method
authorMartin Stockhammer <martin.stockhammer@ars.de>
Thu, 29 Mar 2018 21:45:15 +0000 (23:45 +0200)
committerMartin Stockhammer <martin.stockhammer@ars.de>
Thu, 29 Mar 2018 21:45:15 +0000 (23:45 +0200)
archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java

index 97ed05cf4ebb0f1ba7c095c28c2b8a3acc553535..61f60876e07338effda9ffba0b2c3abae8c18c63 100644 (file)
@@ -51,4 +51,9 @@ public class PasswordCredentials implements RepositoryCredentials
     {
         this.password = password;
     }
+
+    @Override
+    public String toString() {
+        return "name="+username+",pwd=*****";
+    }
 }