buffer.append( ':' );
buffer.append( ' ' );
for ( Iterator<GrantAndDenial> it = ( ( Collection<GrantAndDenial> ) userPermission
.getGrantsAndDenials() ).iterator(); it.hasNext(); )
{
GrantAndDenial gd = it.next();
buffer.append( gd.isGrant() ? '+' : '-' );
buffer.append( gd.getMicroOperation().getName() );
if ( it.hasNext() )
{
buffer.append( ',' );
}