Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java @ 4490:82cc03e5f1c4
Add stack trace if authentication was not successfull
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 14 Nov 2012 10:37:51 +0100 |
parents | fea3e4b6faba |
children |
comparison
equal
deleted
inserted
replaced
4489:fea3e4b6faba | 4490:82cc03e5f1c4 |
---|---|
101 String uri = (String)session.getAttribute("requesturi"); | 101 String uri = (String)session.getAttribute("requesturi"); |
102 | 102 |
103 this.redirectSuccess(resp, req.getContextPath(), uri); | 103 this.redirectSuccess(resp, req.getContextPath(), uri); |
104 } | 104 } |
105 catch(AuthenticationException e) { | 105 catch(AuthenticationException e) { |
106 logger.error(e); | 106 logger.error(e, e); |
107 this.redirectFailure(resp, req.getContextPath(), e); | 107 this.redirectFailure(resp, req.getContextPath(), e); |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 private Authentication auth(String username, String password, String encoding) | 111 private Authentication auth(String username, String password, String encoding) |