aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2012-11-21 11:40:26 (EST)
committerThomas Becker2012-11-21 11:42:51 (EST)
commit6a194521c0d555478c974069812dc89594299ba3 (patch)
treee1961ba3ea4419e01cbbf557410175065fe47d9a
parent0f60eb751d64b509feaed113383fde86e71613e0 (diff)
downloadorg.eclipse.jetty.project-6a194521c0d555478c974069812dc89594299ba3.zip
org.eclipse.jetty.project-6a194521c0d555478c974069812dc89594299ba3.tar.gz
org.eclipse.jetty.project-6a194521c0d555478c974069812dc89594299ba3.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;
}