String username = loginForm.getUsername();
String password = loginForm.getPassword();
//GlobalConfig global = (GlobalConfig) getServlet().getServletContext()
// .getAttribute(GlobalConfig.CONFIG_KEY);
GeoServer geoserver = getWFS(request).getGeoServer();
if (username.equalsIgnoreCase(geoserver.getAdminUserName())
&& password.equalsIgnoreCase(geoserver.getAdminPassword())) {
UserContainer user = new UserContainer();
user.setUsername(username);
request.getSession().setAttribute(UserContainer.SESSION_KEY, user);
String forward = (String) request.getAttribute("forward");