From 8b790550b29f34a54ee36597029c9165ee0711ca Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Thu, 29 Mar 2018 23:45:15 +0200 Subject: [PATCH] Adding toString method --- .../org/apache/archiva/repository/PasswordCredentials.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java index 97ed05cf4..61f60876e 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/PasswordCredentials.java @@ -51,4 +51,9 @@ public class PasswordCredentials implements RepositoryCredentials { this.password = password; } + + @Override + public String toString() { + return "name="+username+",pwd=*****"; + } } -- 2.39.5