Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java @ 2970:b89dd09b486c
Also log an authentication failure
flys-client/trunk@4966 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 13 Jul 2012 06:57:00 +0000 |
parents | 16c71457ed43 |
children | 6266dff93ed2 |
comparison
equal
deleted
inserted
replaced
2969:16c71457ed43 | 2970:b89dd09b486c |
---|---|
67 String uri = (String)session.getAttribute("requesturi"); | 67 String uri = (String)session.getAttribute("requesturi"); |
68 | 68 |
69 this.redirectSuccess(resp, uri); | 69 this.redirectSuccess(resp, uri); |
70 } | 70 } |
71 catch(AuthenticationException e) { | 71 catch(AuthenticationException e) { |
72 logger.error(e); | |
72 this.redirectFailure(resp, e); | 73 this.redirectFailure(resp, e); |
73 } | 74 } |
74 } | 75 } |
75 | 76 |
76 private Authentication auth(String username, String password, String encoding) | 77 private Authentication auth(String username, String password, String encoding) |