WebSecurityConfig.java
package com.heoclark.webapp.security;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
@Configuration
public class WebSecurityConfig extends WebMvcConfigurerAdapter{
/**
* 登录session key
*/
public final static String SESSION_KEY = "user";
@Bean
public SecurityInterceptor getSecurityInterceptor() {
return new SecurityInterceptor();
}
public void addInterceptors(InterceptorRegistry registry) {
InterceptorRegistration addInterceptor = registry.addInterceptor(getSecurityInterceptor());
// 排除配置
// addInterceptor.excludePathPatterns("/error");
addInterceptor.excludePathPatterns("/login**");
// 拦截配置
addInterceptor.addPathPatterns("/**");
}
private class SecurityInterceptor extends HandlerInterceptorAdapter {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
HttpSession session = request.getSession();
if (session.getAttribute(SESSION_KEY) != null)
return true;
// 跳转登录
String url = "/login";
response.sendRedirect(url);
return false;
}
}
}
MainController.java
package com.heoclark.webapp.controller;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpSession;
import com.heoclark.webapp.entity.User;
import com.heoclark.webapp.security.WebSecurityConfig;
import com.heoclark.webapp.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.SessionAttribute;
@Controller
public class MainController {
@Autowired
private UserService userService;
@GetMapping(value = {"/index", "/"})
public String index(@SessionAttribute(WebSecurityConfig.SESSION_KEY) String input_username, Model model) {
model.addAttribute("name", input_username);
System.out.println("/index");
return "index";
}
@GetMapping("/login")
public String login() {
System.out.println("/login");
return "login";
}
@PostMapping("/loginPost")
public String loginPost(String input_username, String input_password, HttpSession session) {
User user = new User();
user.setUsername(input_username);
user.setPassword(input_password);
Map map = new HashMap<>();
if (userService.login(input_username, input_password) == null) {
map.put("success", false);
map.put("message", "用户名或密码错误");
System.out.println("/doLogin");
return "redirect:/login";
}
// 设置session
session.setAttribute(WebSecurityConfig.SESSION_KEY, input_username);
map.put("success", true);
map.put("message", "登录成功");
return "redirect:/index";
}
@GetMapping("/logout")
public String logout(HttpSession session) {
// 移除session
session.removeAttribute(WebSecurityConfig.SESSION_KEY);
return "redirect:/login";
}
}
误操作
在地址栏输入: localhost:8080/
,回车,然后快速多次刷新页面。
出现的问题
清除缓存,重启服务,再次访问 问题依然存在。 后台响应:
2018-07-25 16:37:41.853 INFO 3005 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 17 ms
2018-07-25 16:37:41.948 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:41.949 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:41.949 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:41.951 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:41.951 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:41.954 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:41.954 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:41.982 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:41.992 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.002 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.029 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.029 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.029 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.029 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.029 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.030 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.030 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.038 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.038 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.038 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.038 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.039 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.039 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.039 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.049 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.050 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.050 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.050 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.050 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.050 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.050 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.059 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.060 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.060 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.060 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.060 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.060 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.060 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.069 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.069 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.070 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.070 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.070 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.070 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.070 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.079 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.088 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.088 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.088 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.088 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.088 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.088 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.089 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.101 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.110 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.119 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.119 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.119 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.120 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.120 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.120 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.120 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.129 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.138 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.138 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.138 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.138 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.139 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.139 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.139 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.150 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.158 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.166 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.166 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.167 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.167 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.167 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.167 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.167 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.435 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.435 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.435 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.435 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.435 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.436 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.436 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.454 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.465 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.465 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.466 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.466 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.466 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.466 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.466 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.475 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.487 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.497 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.506 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.515 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.524 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.536 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.546 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.556 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.557 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.557 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.557 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.557 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.557 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.557 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.565 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.565 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.566 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.566 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.566 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.566 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.566 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.574 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.582 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.590 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.590 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.590 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.590 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.590 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.591 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.591 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.602 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.612 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.613 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.613 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.613 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.613 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.613 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.613 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.626 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:42.634 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:42.634 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:42.634 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:42.634 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:42.635 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:42.635 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:42.635 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.656 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.657 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.657 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.657 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.657 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.657 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.657 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.671 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.682 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.682 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.682 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.682 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.683 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.683 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.683 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.692 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.704 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.705 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.705 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.705 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.705 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.705 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.705 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.716 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.724 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.725 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.725 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.725 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.725 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.725 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.725 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.736 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.747 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.757 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.768 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.768 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.768 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.768 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.768 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.769 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.769 INFO 3005 --- [nio-8080-exec-1] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.777 INFO 3005 --- [nio-8080-exec-2] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.789 INFO 3005 --- [nio-8080-exec-3] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.800 INFO 3005 --- [nio-8080-exec-4] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.809 INFO 3005 --- [nio-8080-exec-5] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.821 INFO 3005 --- [nio-8080-exec-6] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.832 INFO 3005 --- [nio-8080-exec-7] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.842 INFO 3005 --- [nio-8080-exec-8] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.853 INFO 3005 --- [nio-8080-exec-9] com.heoclark.webapp.aspect.HttpAspect : response = login
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : url = http://localhost:8080/login
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : method = GET
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : ip = 0:0:0:0:0:0:0:1:55253
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : class_method = com.heoclark.webapp.controller.MainController.login
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : args[] = {}
/login
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect :
2018-07-25 16:37:47.862 INFO 3005 --- [io-8080-exec-10] com.heoclark.webapp.aspect.HttpAspect : response = login
尝试修改
新的问题
问题根本所在
经过上面的两个测试可以猜测(特别是找不到 /login 的时候)可能是配置目录问题导致找不到模板,下面去修改配置 application.properties