Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java @ 3697:2e12518ff5b4
Removed trailing whitespace. Reverted functional change in parsing plain user file.
flys-client/trunk@5396 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 08 Sep 2012 12:22:53 +0000 |
parents | a050cb5f303f |
children | a4c9296f6efa |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java Sat Sep 08 11:26:30 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java Sat Sep 08 12:22:53 2012 +0000 @@ -49,7 +49,7 @@ @Override protected void doPost(HttpServletRequest req, HttpServletResponse resp) - throws ServletException, IOException + throws ServletException, IOException { String encoding = req.getCharacterEncoding(); String username = req.getParameter("username"); @@ -62,7 +62,7 @@ this.redirectFailure(resp); return; } - + try { Authentication aresp = this.auth(username, password, encoding); if (aresp == null || !aresp.isSuccess()) { @@ -94,7 +94,7 @@ } private Authentication auth(String username, String password, String encoding) - throws AuthenticationException, IOException + throws AuthenticationException, IOException { ServletContext sc = this.getServletContext(); Features features = (Features)sc.getAttribute(Features.CONTEXT_ATTRIBUTE);