better toString for debuging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1430609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8dbdf40af5
commit
c5c9a51959
|
@ -56,4 +56,16 @@ public class AuthorizationResult
|
||||||
{
|
{
|
||||||
return exception;
|
return exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString()
|
||||||
|
{
|
||||||
|
final StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append( "AuthorizationResult" );
|
||||||
|
sb.append( "{isAuthorized=" ).append( isAuthorized );
|
||||||
|
sb.append( ", principal=" ).append( principal );
|
||||||
|
sb.append( ", exception=" ).append( exception );
|
||||||
|
sb.append( '}' );
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue