1)改造登录方法,在Session中存储用户信息,用于进行权限验证2)开发拦截器的功能。实现HandlerInterceptor接口,重写preHandle()方法3)在springmvc.xml文件中注册拦截器