aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2012-11-21 11:40:26 (EST)
committerThomas Becker2012-11-21 11:41:11 (EST)
commit207745fdefc273ef3fdbc459c9090dd08963aacd (patch)
tree63254e0aacc3a067abd0fd47713912f5eb6c90a0
parent9ab2a96715ce27189d0b676e988e437fa042e446 (diff)
downloadorg.eclipse.jetty.project-207745fdefc273ef3fdbc459c9090dd08963aacd.zip
org.eclipse.jetty.project-207745fdefc273ef3fdbc459c9090dd08963aacd.tar.gz
org.eclipse.jetty.project-207745fdefc273ef3fdbc459c9090dd08963aacd.tar.bz2
394811: Make JAASLoginService log login failures to DEBUG instead of WARN. Same for some other exceptions.
-rw-r--r--jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java17
1 files changed, 11 insertions, 6 deletions
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java
index caf14e8..c145e69 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/jaas/JAASLoginService.java
@@ -245,27 +245,32 @@ public class JAASLoginService extends AbstractLifeCycle implements LoginService
}
catch (LoginException e)
{
- LOG.warn(e);
+ LOG.debug(e);
}
catch (IOException e)
{
- LOG.warn(e);
+ LOG.info(e.getMessage());
+ LOG.debug(e);
}
catch (UnsupportedCallbackException e)
{
- LOG.warn(e);
+ LOG.info(e.getMessage());
+ LOG.debug(e);
}
catch (InstantiationException e)
{
- LOG.warn(e);
+ LOG.info(e.getMessage());
+ LOG.debug(e);
}
catch (IllegalAccessException e)
{
- LOG.warn(e);
+ LOG.info(e.getMessage());
+ LOG.debug(e);
}
catch (ClassNotFoundException e)
{
- LOG.warn(e);
+ LOG.info(e.getMessage());
+ LOG.debug(e);
}
return null;
}