mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-01 02:49:11 +00:00
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()) {
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user