Remove unnecessary logging statements.
This commit is contained in:
parent
bd35a47233
commit
7387c7f231
|
@ -78,17 +78,6 @@ public class JbossIntegrationFilter extends AbstractIntegrationFilter {
|
||||||
while (principals.hasNext()) {
|
while (principals.hasNext()) {
|
||||||
Principal p = (Principal) principals.next();
|
Principal p = (Principal) principals.next();
|
||||||
|
|
||||||
if (p == null) {
|
|
||||||
if (super.logger.isDebugEnabled()) {
|
|
||||||
super.logger.debug("Found null Principal in container");
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (super.logger.isDebugEnabled()) {
|
|
||||||
super.logger.debug("Found Principal in container ("
|
|
||||||
+ p.getClass().getName() + ") : " + p.getName());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (p instanceof Authentication) {
|
if (p instanceof Authentication) {
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue