Mercurial > dive4elements > river
changeset 8399:c668520cc5fb
Log successful/unsuccessful authentication without traceback.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 09 Oct 2014 12:20:48 +0200 |
parents | ae750e3fa9ea |
children | 319aa972a1a3 |
files | gwt-client/src/main/java/org/dive4elements/river/client/server/LoginServlet.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/LoginServlet.java Thu Oct 09 12:13:30 2014 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/LoginServlet.java Thu Oct 09 12:20:48 2014 +0200 @@ -49,10 +49,11 @@ this.redirectFailure(resp, req.getContextPath()); return; } + log.info("Authentication successfull."); this.performLogin(req, resp, aresp.getUser()); } catch(AuthenticationException e) { - log.error(e, e); + log.error(e.getMessage()); this.redirectFailure(resp, req.getContextPath(), e); } }