comparison gwt-client/src/main/java/org/dive4elements/river/client/server/LoginServlet.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents c668520cc5fb
children d6d5ca6d4af0 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
56 log.error(e.getMessage()); 56 log.error(e.getMessage());
57 this.redirectFailure(resp, req.getContextPath(), e); 57 this.redirectFailure(resp, req.getContextPath(), e);
58 } 58 }
59 } 59 }
60 60
61 private Authentication auth(String username, String password, String encoding) 61 private Authentication auth(
62 String username,
63 String password,
64 String encoding
65 )
62 throws AuthenticationException, IOException 66 throws AuthenticationException, IOException
63 { 67 {
64 ServletContext sc = this.getServletContext(); 68 ServletContext sc = this.getServletContext();
65 Features features = (Features)sc.getAttribute(Features.CONTEXT_ATTRIBUTE); 69 Features features = (Features)sc.getAttribute(
70 Features.CONTEXT_ATTRIBUTE);
66 String auth = sc.getInitParameter("authentication"); 71 String auth = sc.getInitParameter("authentication");
67 return AuthenticationFactory.getInstance(auth).auth(username, password, 72 return AuthenticationFactory.getInstance(auth).auth(username, password,
68 encoding, features, sc); 73 encoding, features, sc);
69 } 74 }
70 } 75 }

http://dive4elements.wald.intevation.org