even if a role was found.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@697158
13f79535-47bb-0310-9956-
ffa450edef68
log.debug(" No user authenticated, cannot grant access");
} else {
for (int j = 0; j < roles.length; j++) {
- if (hasRole(principal, roles[j]))
+ if (hasRole(principal, roles[j])) {
status = true;
- if( log.isDebugEnabled() )
+ if( log.isDebugEnabled() )
+ log.debug( "Role found: " + roles[j]);
+ }
+ else if( log.isDebugEnabled() )
log.debug( "No role found: " + roles[j]);
}
}