Quellcode durchsuchen

Remove unnecessary logging statements.

Ben Alex vor 21 Jahren
Ursprung
Commit
7387c7f231

+ 0 - 11
adapters/jboss/src/main/java/org/acegisecurity/adapters/jboss/JbossIntegrationFilter.java

@@ -78,17 +78,6 @@ public class JbossIntegrationFilter extends AbstractIntegrationFilter {
             while (principals.hasNext()) {
                 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) {
                     return p;
                 }