]> source.dussan.org Git - archiva.git/commitdiff
not display password in logs
authorOlivier Lamy <olamy@apache.org>
Sat, 5 Jan 2013 15:29:10 +0000 (15:29 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 5 Jan 2013 15:29:10 +0000 (15:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429317 13f79535-47bb-0310-9956-ffa450edef68

redback-authorization/redback-authorization-api/src/main/java/org/apache/archiva/redback/authorization/AuthorizationDataSource.java

index 392527a1490add4097d38ae767f37c1e0a306be3..4c831fb1d3eb137c813db69d0db382aaab0cccc9 100644 (file)
@@ -95,7 +95,8 @@ public class AuthorizationDataSource
         final StringBuilder sb = new StringBuilder();
         sb.append( "AuthorizationDataSource" );
         sb.append( "{principal='" ).append( principal ).append( '\'' );
-        sb.append( ", user=" ).append( user );
+        // not display password in logs
+        //sb.append( ", user=" ).append( user );
         sb.append( ", permission='" ).append( permission ).append( '\'' );
         sb.append( ", resource='" ).append( resource ).append( '\'' );
         sb.append( '}' );