not display password in logs

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1429317 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-05 15:29:10 +00:00
parent 70d2aa24ed
commit 82cc7f0c36
1 changed files with 2 additions and 1 deletions

View 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( '}' );