├── README.md ├── .gitignore ├── src └── main │ ├── resources │ ├── config.properties │ ├── shiro.ini │ └── log4j.properties │ ├── java │ └── com │ │ └── perfree │ │ ├── Main.java │ │ ├── model │ │ └── User.java │ │ ├── jwt │ │ ├── JWTToken.java │ │ ├── JWTFilter.java │ │ └── JwtUtils.java │ │ ├── controller │ │ └── TestController.java │ │ ├── Config.java │ │ ├── common │ │ └── AjaxResult.java │ │ └── shiro │ │ ├── ShiroInterceptor.java │ │ └── ShiroDbRealm.java │ └── webapp │ └── WEB-INF │ └── web.xml ├── pom.xml └── logs ├── parking-seller.log.2019-02-22.log └── parking-seller.log /README.md: -------------------------------------------------------------------------------- 1 | # Jfinal-shiro-jwt 2 | Jfinal+Shiro+Jwt权限认证简单Demo 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.classpath 2 | /.class 3 | /target 4 | /.project 5 | /.settings 6 | /.idea 7 | /.factorypath 8 | /mvnw 9 | /mvnw.cmd 10 | -------------------------------------------------------------------------------- /src/main/resources/config.properties: -------------------------------------------------------------------------------- 1 | #秘钥 2 | jwt.secretkey=qwdjkshdksfgkdsfhsfds4f56d7s8f65s4d6ad45a4sd56 3 | #授权方 4 | jwt.issuer=perfree -------------------------------------------------------------------------------- /src/main/java/com/perfree/Main.java: -------------------------------------------------------------------------------- 1 | package com.perfree; 2 | 3 | import com.jfinal.core.JFinal; 4 | 5 | public class Main { 6 | public static void main(String[] args) { 7 | JFinal.start("src/main/webapp", 8088, "/", 5); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/model/User.java: -------------------------------------------------------------------------------- 1 | package com.perfree.model; 2 | 3 | public class User { 4 | 5 | private String name; 6 | private String password; 7 | public String getName() { 8 | return name; 9 | } 10 | public void setName(String name) { 11 | this.name = name; 12 | } 13 | public String getPassword() { 14 | return password; 15 | } 16 | public void setPassword(String password) { 17 | this.password = password; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/jwt/JWTToken.java: -------------------------------------------------------------------------------- 1 | package com.perfree.jwt; 2 | 3 | import org.apache.shiro.authc.AuthenticationToken; 4 | 5 | public class JWTToken implements AuthenticationToken { 6 | private static final long serialVersionUID = 1L; 7 | 8 | // 密钥 9 | private String token; 10 | 11 | public JWTToken(String token) { 12 | this.token = token; 13 | } 14 | 15 | @Override 16 | public Object getPrincipal() { 17 | return token; 18 | } 19 | 20 | @Override 21 | public Object getCredentials() { 22 | return token; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/resources/shiro.ini: -------------------------------------------------------------------------------- 1 | [main] 2 | #realm  自定 义 realm  3 | shiroDbRealm=com.perfree.shiro.ShiroDbRealm 4 | securityManager.realms = $shiroDbRealm 5 | sessionManager=org.apache.shiro.session.mgt.DefaultSessionManager 6 | securityManager.sessionManager=$sessionManager 7 | securityManager.sessionManager.sessionValidationSchedulerEnabled = false 8 | # 退出跳转路径 9 | logout.redirectUrl = /login 10 | [filters] 11 | app_authc = com.perfree.jwt.JWTFilter 12 | app_authc.loginUrl = /login 13 | # 登录成功跳转路径 可以自己定义 14 | app_authc.successUrl = /index 15 | 16 | #路径角色权限设置 17 | [urls] 18 | /login = anon 19 | /doLogin = anon 20 | /resources/** = anon 21 | /logout = logout 22 | /** = app_authc,roles[admin] -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=info,console, file 2 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 3 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 4 | log4j.appender.stdout.layout.ConversionPattern=%n%-d{yyyy-MM-dd HH:mm:ss}%n[%p]-[Thread: %t]-[%C.%M()]: %m%n 5 | log4j.appender.console=org.apache.log4j.ConsoleAppender 6 | log4j.appender.console.Target=System.out 7 | log4j.appender.console.layout=org.apache.log4j.PatternLayout 8 | log4j.appender.console.layout.ConversionPattern=%-d{yyyy-MM-dd HH\:mm\:ss} %c , row at %L : %m%n 9 | # Output to the File 10 | log4j.appender.file=org.apache.log4j.DailyRollingFileAppender 11 | log4j.appender.file.Append=true 12 | #windows 13 | log4j.appender.file.File=./logs/parking-seller.log 14 | #liunx 15 | #log4j.appender.file.File=/data/logs/ytwl_bk.log 16 | log4j.appender.file.DatePattern = '.'yyyy-MM-dd'.log' 17 | log4j.appender.file.layout=org.apache.log4j.PatternLayout 18 | log4j.appender.file.layout.ConversionPattern=%n%-d{yyyy-MM-dd HH:mm:ss}%n[%p]-[Thread: %t]-[%C.%M()]: %m%n -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | org.apache.shiro.web.env.EnvironmentLoaderListener 5 | 6 | 7 | shiro 8 | org.apache.shiro.web.servlet.ShiroFilter 9 | 10 | 11 | shiro 12 | /* 13 | 14 | 15 | 16 | jfinal 17 | com.jfinal.core.JFinalFilter 18 | 19 | configClass 20 | com.perfree.Config 21 | 22 | 23 | 24 | jfinal 25 | /* 26 | 27 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/controller/TestController.java: -------------------------------------------------------------------------------- 1 | package com.perfree.controller; 2 | 3 | import java.util.Date; 4 | import java.util.HashMap; 5 | import java.util.Map; 6 | import com.jfinal.core.Controller; 7 | import com.perfree.common.AjaxResult; 8 | import com.perfree.jwt.JwtUtils; 9 | 10 | /** 11 | * 测试Controller 12 | * @author Perfree 13 | */ 14 | public class TestController extends Controller{ 15 | 16 | /** 17 | * 首页 18 | */ 19 | public void index() { 20 | renderText("这是首页"); 21 | } 22 | 23 | /** 24 | * 登录页 25 | */ 26 | public void login() { 27 | renderText("请登录"); 28 | } 29 | 30 | /** 31 | * 登录操作 32 | */ 33 | public void doLogin() { 34 | try { 35 | String name = getPara("name"); 36 | String password = getPara("password"); 37 | if(name.equals("perfree") && password.equals("123456")) { 38 | Map map = new HashMap<>(); 39 | map.put("name", name); 40 | renderJson(new AjaxResult(AjaxResult.SUCCESS, JwtUtils.createJwt(map, new Date(System.currentTimeMillis()+360000)))); 41 | }else { 42 | renderJson(new AjaxResult(AjaxResult.ERROR,"用户名或密码错误")); 43 | } 44 | } catch (Exception e) { 45 | renderJson(new AjaxResult(AjaxResult.FAILD,"系统异常")); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/Config.java: -------------------------------------------------------------------------------- 1 | package com.perfree; 2 | 3 | import com.jfinal.config.Constants; 4 | import com.jfinal.config.Handlers; 5 | import com.jfinal.config.Interceptors; 6 | import com.jfinal.config.JFinalConfig; 7 | import com.jfinal.config.Plugins; 8 | import com.jfinal.config.Routes; 9 | import com.jfinal.kit.PropKit; 10 | import com.jfinal.template.Engine; 11 | import com.perfree.controller.TestController; 12 | import com.perfree.shiro.ShiroInterceptor; 13 | 14 | public class Config extends JFinalConfig{ 15 | 16 | @Override 17 | public void configConstant(Constants me) { 18 | loadPropertyFile("config.properties"); 19 | // 初始化读入config.properties,方便其他地方调用配置信息,省去了其他地方需要每次先use的步骤 20 | PropKit.use("config.properties"); 21 | me.setDevMode(true); 22 | 23 | } 24 | 25 | @Override 26 | public void configRoute(Routes me) { 27 | me.add("/", TestController.class); 28 | } 29 | 30 | @Override 31 | public void configEngine(Engine me) { 32 | 33 | } 34 | 35 | @Override 36 | public void configPlugin(Plugins me) { 37 | 38 | } 39 | 40 | @Override 41 | public void configInterceptor(Interceptors me) { 42 | me.add(new ShiroInterceptor()); 43 | } 44 | 45 | @Override 46 | public void configHandler(Handlers me) { 47 | 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/common/AjaxResult.java: -------------------------------------------------------------------------------- 1 | package com.perfree.common; 2 | 3 | /** 4 | * ajax结果集简单封装 5 | * @author Perfree 6 | * 7 | */ 8 | public class AjaxResult { 9 | 10 | /**成功*/ 11 | public static final int SUCCESS = 1; 12 | /**出错*/ 13 | public static final int ERROR = -1; 14 | /**失败*/ 15 | public static final int FAILD = -2; 16 | 17 | /** 18 | * ajax响应 19 | * @param state 状态 20 | * @param msg 信息 21 | * @param data 数据 22 | */ 23 | public AjaxResult(Integer state,String msg,Object data) { 24 | this.state = state; 25 | this.msg = msg; 26 | this.data = data; 27 | } 28 | 29 | /** 30 | * ajax响应 31 | * @param state 状态 32 | * @param msg 信息 33 | */ 34 | public AjaxResult(Integer state,String msg) { 35 | this.state = state; 36 | this.msg = msg; 37 | } 38 | 39 | /** 40 | * ajax响应 41 | * @param state 状态 42 | */ 43 | public AjaxResult(Integer state) { 44 | this.state = state; 45 | } 46 | 47 | private Integer state; 48 | private String msg; 49 | private Object data; 50 | 51 | public Integer getState() { 52 | return state; 53 | } 54 | public void setState(Integer state) { 55 | this.state = state; 56 | } 57 | public String getMsg() { 58 | return msg; 59 | } 60 | public void setMsg(String msg) { 61 | this.msg = msg; 62 | } 63 | public Object getData() { 64 | return data; 65 | } 66 | public void setData(Object data) { 67 | this.data = data; 68 | } 69 | 70 | } 71 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/shiro/ShiroInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.perfree.shiro; 2 | 3 | import java.lang.reflect.Method; 4 | import org.apache.shiro.aop.MethodInvocation; 5 | import org.apache.shiro.authz.AuthorizationException; 6 | import org.apache.shiro.authz.aop.AnnotationsAuthorizingMethodInterceptor; 7 | import com.jfinal.aop.Interceptor; 8 | import com.jfinal.aop.Invocation; 9 | import com.jfinal.core.Controller; 10 | import com.jfinal.kit.LogKit; 11 | 12 | public class ShiroInterceptor extends AnnotationsAuthorizingMethodInterceptor implements Interceptor { 13 | 14 | public ShiroInterceptor() { 15 | getMethodInterceptors(); 16 | } 17 | 18 | public void intercept(final Invocation inv) { 19 | try { 20 | invoke(new MethodInvocation() { 21 | public Object proceed() throws Throwable { 22 | inv.invoke(); 23 | return inv.getReturnValue(); 24 | } 25 | public Method getMethod() { 26 | return inv.getMethod(); 27 | } 28 | 29 | public Object[] getArguments() { 30 | return inv.getArgs(); 31 | } 32 | 33 | public Object getThis() { 34 | return inv.getController(); 35 | } 36 | }); 37 | } catch (Throwable e) { 38 | if (e instanceof AuthorizationException) { 39 | doProcessuUnauthorization(inv.getController()); 40 | } 41 | LogKit.warn("权限错误:", e); 42 | } 43 | } 44 | 45 | /** 46 | * 未授权处理 47 | * 48 | * @param controller controller 49 | */ 50 | private void doProcessuUnauthorization(Controller controller) { 51 | controller.redirect("/login"); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/shiro/ShiroDbRealm.java: -------------------------------------------------------------------------------- 1 | package com.perfree.shiro; 2 | 3 | import org.apache.shiro.authc.AuthenticationException; 4 | import org.apache.shiro.authc.AuthenticationInfo; 5 | import org.apache.shiro.authc.AuthenticationToken; 6 | import org.apache.shiro.authc.SimpleAuthenticationInfo; 7 | import org.apache.shiro.authz.AuthorizationInfo; 8 | import org.apache.shiro.authz.SimpleAuthorizationInfo; 9 | import org.apache.shiro.realm.AuthorizingRealm; 10 | import org.apache.shiro.subject.PrincipalCollection; 11 | import com.perfree.jwt.JWTToken; 12 | import com.perfree.jwt.JwtUtils; 13 | import com.perfree.model.User; 14 | 15 | public class ShiroDbRealm extends AuthorizingRealm{ 16 | 17 | 18 | /** 19 | * 重写shiro的token 20 | */ 21 | @Override 22 | public boolean supports(AuthenticationToken token) { 23 | return token instanceof JWTToken; 24 | } 25 | 26 | /** 27 | * 角色,权限认证 28 | */ 29 | @Override 30 | protected AuthorizationInfo doGetAuthorizationInfo(PrincipalCollection principals) { 31 | //String username = JwtUtils.getUsername(principals.toString()); 32 | SimpleAuthorizationInfo simpleAuthorizationInfo = new SimpleAuthorizationInfo(); 33 | //这里可以连接数据库根据用户账户进行查询用户角色权限等信息,为简便,直接set 34 | simpleAuthorizationInfo.addRole("admin"); 35 | simpleAuthorizationInfo.addStringPermission("all"); 36 | return simpleAuthorizationInfo; 37 | } 38 | 39 | /** 40 | * 自定义认证 41 | */ 42 | @Override 43 | protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken auth) throws AuthenticationException { 44 | String token = (String) auth.getCredentials(); 45 | // 解密获得username,用于和数据库进行对比 46 | String userName = JwtUtils.getUsername(token); 47 | if (userName == null || userName == "") { 48 | throw new AuthenticationException("token 校验失败"); 49 | } 50 | //根据解密的token得到用户名到数据库查询(为省事,直接设置) 51 | User user = new User(); 52 | user.setName(userName); 53 | if(user.getName() == null) { 54 | throw new AuthenticationException("用户不存在"); 55 | } 56 | if(JwtUtils.verifyJwt(token, userName) == null) { 57 | throw new AuthenticationException("用户名或者密码错误"); 58 | } 59 | return new SimpleAuthenticationInfo(token, token, getName()); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/jwt/JWTFilter.java: -------------------------------------------------------------------------------- 1 | package com.perfree.jwt; 2 | 3 | import java.io.IOException; 4 | import javax.servlet.ServletRequest; 5 | import javax.servlet.ServletResponse; 6 | import javax.servlet.http.HttpServletRequest; 7 | import javax.servlet.http.HttpServletResponse; 8 | import org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter; 9 | 10 | /** 11 | * 自定义Shiro的过滤器 12 | * @author Perfree 13 | * 14 | */ 15 | public class JWTFilter extends BasicHttpAuthenticationFilter { 16 | 17 | /** 18 | * 判断用户是否想要登入。 19 | * 检测header里面是否包含authc字段即可 20 | */ 21 | @Override 22 | protected boolean isLoginAttempt(ServletRequest request, ServletResponse response) { 23 | HttpServletRequest req = (HttpServletRequest) request; 24 | String authorization = req.getHeader("authc"); 25 | return authorization != null; 26 | } 27 | 28 | /** 29 | * 如果携带token进行登录 30 | */ 31 | @Override 32 | protected boolean executeLogin(ServletRequest request, ServletResponse response){ 33 | HttpServletRequest httpServletRequest = (HttpServletRequest) request; 34 | String authorization = httpServletRequest.getHeader("authc"); 35 | 36 | JWTToken token = new JWTToken(authorization); 37 | // 提交给realm进行登入,如果错误他会抛出异常并被捕获 38 | getSubject(request, response).login(token); 39 | // 如果没有抛出异常则代表登入成功,返回true 40 | return true; 41 | } 42 | 43 | @Override 44 | protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) { 45 | HttpServletResponse resp = (HttpServletResponse)response; 46 | Boolean flag = true; 47 | //判断用户是否携带了token 48 | if (isLoginAttempt(request, response)) { 49 | try { 50 | executeLogin(request, response); 51 | } catch (Exception e) { 52 | flag = false; 53 | } 54 | if(!flag) { 55 | try { 56 | resp.sendRedirect("/login"); 57 | } catch (IOException e) { 58 | // TODO Auto-generated catch block 59 | e.printStackTrace(); 60 | } 61 | } 62 | return flag; 63 | }else { 64 | //未携带token,重定向至登录页面 65 | try { 66 | resp.sendRedirect("/login"); 67 | } catch (IOException e1) { 68 | } 69 | return false; 70 | } 71 | 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/main/java/com/perfree/jwt/JwtUtils.java: -------------------------------------------------------------------------------- 1 | package com.perfree.jwt; 2 | 3 | import java.io.UnsupportedEncodingException; 4 | import java.util.Date; 5 | import java.util.HashMap; 6 | import java.util.Map; 7 | import com.auth0.jwt.JWT; 8 | import com.auth0.jwt.JWTCreator; 9 | import com.auth0.jwt.JWTVerifier; 10 | import com.auth0.jwt.algorithms.Algorithm; 11 | import com.auth0.jwt.exceptions.JWTDecodeException; 12 | import com.auth0.jwt.interfaces.Claim; 13 | import com.auth0.jwt.interfaces.DecodedJWT; 14 | import com.jfinal.kit.PropKit; 15 | 16 | public class JwtUtils { 17 | 18 | /** 19 | * 生成jwt 20 | * @return 21 | */ 22 | public static String createJwt(Map claims,Date expireDatePoint){ 23 | try { 24 | //使用HMAC256进行加密 25 | Algorithm algorithm = Algorithm.HMAC256(PropKit.get("jwt.secretkey")); 26 | 27 | //创建jwt 28 | JWTCreator.Builder builder = JWT.create().withIssuer(PropKit.get("jwt.issuer")).withExpiresAt(expireDatePoint); 29 | //传入参数 30 | claims.forEach((key,value)-> { 31 | builder.withClaim(key, value); 32 | }); 33 | //签名加密 34 | return builder.sign(algorithm); 35 | } catch (IllegalArgumentException e) { 36 | return ""; 37 | } catch (UnsupportedEncodingException e) { 38 | return ""; 39 | } 40 | } 41 | 42 | /** 43 | * 验证jwt 44 | * @return 45 | */ 46 | public static Map verifyJwt(String token,String userName) { 47 | Algorithm algorithm = null; 48 | Map resultMap = new HashMap<>(); 49 | try { 50 | //使用HMAC256进行加密 51 | algorithm = Algorithm.HMAC256(PropKit.get("jwt.secretkey")); 52 | //解密 53 | JWTVerifier verifier = JWT.require(algorithm).withIssuer(PropKit.get("jwt.issuer")).withClaim("name", userName).build(); 54 | DecodedJWT jwt = verifier.verify(token); 55 | Map map = jwt.getClaims(); 56 | map.forEach((k,v) -> resultMap.put(k, v.asString())); 57 | } catch (Exception e) { 58 | return null; 59 | } 60 | return resultMap; 61 | } 62 | 63 | /** 64 | * 获得token中的信息无需secret解密也能获得 65 | * @return token中包含的用户名 66 | */ 67 | public static String getUsername(String token) { 68 | try { 69 | DecodedJWT jwt = JWT.decode(token); 70 | return jwt.getClaim("name").asString(); 71 | } catch (JWTDecodeException e) { 72 | return null; 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4.0.0 3 | com.perfree 4 | jfinal-jwt 5 | 0.0.1-SNAPSHOT 6 | war 7 | 8 | 1.8 9 | 10 | 11 | 12 | com.jfinal 13 | jfinal 14 | 3.6 15 | 16 | 17 | 18 | com.jfinal 19 | jetty-server 20 | 2019.1 21 | compile 22 | 23 | 24 | org.apache.shiro 25 | shiro-core 26 | 1.4.0 27 | 28 | 29 | org.apache.shiro 30 | shiro-web 31 | 1.4.0 32 | 33 | 34 | org.slf4j 35 | slf4j-api 36 | 1.7.25 37 | 38 | 39 | org.slf4j 40 | slf4j-log4j12 41 | 1.7.25 42 | 43 | 44 | log4j 45 | log4j 46 | 1.2.17 47 | 48 | 49 | commons-logging 50 | commons-logging 51 | 1.1.3 52 | 53 | 54 | com.auth0 55 | java-jwt 56 | 3.2.0 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | org.apache.maven.plugins 65 | maven-compiler-plugin 66 | 2.3.2 67 | 68 | ${jdk.version} 69 | ${jdk.version} 70 | UTF-8 71 | 72 | 73 | 74 | org.apache.maven.plugins 75 | maven-resources-plugin 76 | 2.6 77 | 78 | 79 | org.apache.maven.plugins 80 | maven-war-plugin 81 | 2.4 82 | 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /logs/parking-seller.log.2019-02-22.log: -------------------------------------------------------------------------------- 1 | 2 | 2019-02-22 09:32:55 3 | [INFO]-[Thread: main]-[org.eclipse.jetty.util.log.Log.initialized()]: Logging initialized @805ms to org.eclipse.jetty.util.log.Slf4jLog 4 | 5 | 2019-02-22 09:32:56 6 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.Server.doStart()]: jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_191-b12 7 | 8 | 2019-02-22 09:32:56 9 | [INFO]-[Thread: main]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 10 | 11 | 2019-02-22 09:32:56 12 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart()]: DefaultSessionIdManager workerName=node0 13 | 14 | 2019-02-22 09:32:56 15 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart()]: No SessionScavenger set, using defaults 16 | 17 | 2019-02-22 09:32:56 18 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.session.HouseKeeper.startScavenging()]: node0 Scavenging every 600000ms 19 | 20 | 2019-02-22 09:32:56 21 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 22 | 23 | 2019-02-22 09:32:56 24 | [INFO]-[Thread: main]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 25 | 26 | 2019-02-22 09:32:57 27 | [WARN]-[Thread: main]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 28 | 29 | 2019-02-22 09:32:57 30 | [INFO]-[Thread: main]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 31 | 32 | 2019-02-22 09:32:57 33 | [WARN]-[Thread: main]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 34 | 35 | 2019-02-22 09:32:57 36 | [INFO]-[Thread: main]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 695 ms. 37 | 38 | 2019-02-22 09:32:57 39 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@b62d79{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 40 | 41 | 2019-02-22 09:32:57 42 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.AbstractConnector.doStart()]: Started ServerConnector@446293d{HTTP/1.1,[http/1.1]}{0.0.0.0:8088} 43 | 44 | 2019-02-22 09:32:57 45 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.Server.doStart()]: Started @2380ms 46 | -------------------------------------------------------------------------------- /logs/parking-seller.log: -------------------------------------------------------------------------------- 1 | 2 | 2019-02-27 12:23:23 3 | [INFO]-[Thread: main]-[org.eclipse.jetty.util.log.Log.initialized()]: Logging initialized @4946ms to org.eclipse.jetty.util.log.Slf4jLog 4 | 5 | 2019-02-27 12:23:25 6 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.Server.doStart()]: jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_191-b12 7 | 8 | 2019-02-27 12:23:25 9 | [INFO]-[Thread: main]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 10 | 11 | 2019-02-27 12:23:25 12 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart()]: DefaultSessionIdManager workerName=node0 13 | 14 | 2019-02-27 12:23:25 15 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart()]: No SessionScavenger set, using defaults 16 | 17 | 2019-02-27 12:23:26 18 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.session.HouseKeeper.startScavenging()]: node0 Scavenging every 660000ms 19 | 20 | 2019-02-27 12:23:26 21 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 22 | 23 | 2019-02-27 12:23:26 24 | [INFO]-[Thread: main]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 25 | 26 | 2019-02-27 12:23:27 27 | [WARN]-[Thread: main]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 28 | 29 | 2019-02-27 12:23:27 30 | [INFO]-[Thread: main]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 31 | 32 | 2019-02-27 12:23:27 33 | [WARN]-[Thread: main]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 34 | 35 | 2019-02-27 12:23:27 36 | [INFO]-[Thread: main]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 1188 ms. 37 | 38 | 2019-02-27 12:23:27 39 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 40 | 41 | 2019-02-27 12:23:27 42 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.AbstractConnector.doStart()]: Started ServerConnector@7a48e6e2{HTTP/1.1,[http/1.1]}{0.0.0.0:8088} 43 | 44 | 2019-02-27 12:23:27 45 | [INFO]-[Thread: main]-[org.eclipse.jetty.server.Server.doStart()]: Started @8791ms 46 | 47 | 2019-02-27 12:28:02 48 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 49 | 50 | 2019-02-27 12:28:02 51 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 52 | 53 | 2019-02-27 12:28:02 54 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 55 | 56 | 2019-02-27 12:28:02 57 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 58 | 59 | 2019-02-27 12:28:02 60 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 61 | 62 | 2019-02-27 12:28:03 63 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 64 | 65 | 2019-02-27 12:28:03 66 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 67 | 68 | 2019-02-27 12:28:03 69 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 70 | 71 | 2019-02-27 12:28:03 72 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 422 ms. 73 | 74 | 2019-02-27 12:28:03 75 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 76 | 77 | 2019-02-27 12:28:07 78 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 79 | 80 | 2019-02-27 12:28:07 81 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 82 | 83 | 2019-02-27 12:28:07 84 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 85 | 86 | 2019-02-27 12:28:07 87 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 88 | 89 | 2019-02-27 12:28:07 90 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 91 | 92 | 2019-02-27 12:28:08 93 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 94 | 95 | 2019-02-27 12:28:08 96 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 97 | 98 | 2019-02-27 12:28:08 99 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 100 | 101 | 2019-02-27 12:28:08 102 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 308 ms. 103 | 104 | 2019-02-27 12:28:08 105 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 106 | 107 | 2019-02-27 12:28:12 108 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 109 | 110 | 2019-02-27 12:28:12 111 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 112 | 113 | 2019-02-27 12:28:13 114 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 115 | 116 | 2019-02-27 12:28:13 117 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 118 | 119 | 2019-02-27 12:28:13 120 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 121 | 122 | 2019-02-27 12:28:13 123 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 124 | 125 | 2019-02-27 12:28:13 126 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 127 | 128 | 2019-02-27 12:28:13 129 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 130 | 131 | 2019-02-27 12:28:13 132 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 382 ms. 133 | 134 | 2019-02-27 12:28:13 135 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 136 | 137 | 2019-02-27 12:31:39 138 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 139 | 140 | 2019-02-27 12:31:40 141 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 142 | 143 | 2019-02-27 12:31:40 144 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 145 | 146 | 2019-02-27 12:31:40 147 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 148 | 149 | 2019-02-27 12:31:40 150 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 151 | 152 | 2019-02-27 12:31:40 153 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 154 | 155 | 2019-02-27 12:31:40 156 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 157 | 158 | 2019-02-27 12:31:40 159 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 160 | 161 | 2019-02-27 12:31:40 162 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 352 ms. 163 | 164 | 2019-02-27 12:31:40 165 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 166 | 167 | 2019-02-27 12:31:55 168 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 169 | 170 | 2019-02-27 12:31:55 171 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 172 | 173 | 2019-02-27 12:31:55 174 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 175 | 176 | 2019-02-27 12:31:55 177 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 178 | 179 | 2019-02-27 12:31:55 180 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 181 | 182 | 2019-02-27 12:31:55 183 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 184 | 185 | 2019-02-27 12:31:55 186 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 187 | 188 | 2019-02-27 12:31:55 189 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 190 | 191 | 2019-02-27 12:31:55 192 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 376 ms. 193 | 194 | 2019-02-27 12:31:55 195 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 196 | 197 | 2019-02-27 12:32:15 198 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 199 | 200 | 2019-02-27 12:32:15 201 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 202 | 203 | 2019-02-27 12:32:15 204 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 205 | 206 | 2019-02-27 12:32:15 207 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 208 | 209 | 2019-02-27 12:32:15 210 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 211 | 212 | 2019-02-27 12:32:15 213 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 214 | 215 | 2019-02-27 12:32:15 216 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 217 | 218 | 2019-02-27 12:32:15 219 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 220 | 221 | 2019-02-27 12:32:15 222 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 339 ms. 223 | 224 | 2019-02-27 12:32:16 225 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 226 | 227 | 2019-02-27 12:33:46 228 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 229 | 230 | 2019-02-27 12:33:46 231 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 232 | 233 | 2019-02-27 12:33:46 234 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 235 | 236 | 2019-02-27 12:33:46 237 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 238 | 239 | 2019-02-27 12:33:46 240 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 241 | 242 | 2019-02-27 12:33:46 243 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 244 | 245 | 2019-02-27 12:33:46 246 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 247 | 248 | 2019-02-27 12:33:46 249 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 250 | 251 | 2019-02-27 12:33:46 252 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 320 ms. 253 | 254 | 2019-02-27 12:33:46 255 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 256 | 257 | 2019-02-27 12:34:01 258 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 259 | 260 | 2019-02-27 12:34:01 261 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 262 | 263 | 2019-02-27 12:34:01 264 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 265 | 266 | 2019-02-27 12:34:01 267 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 268 | 269 | 2019-02-27 12:34:01 270 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 271 | 272 | 2019-02-27 12:34:01 273 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 274 | 275 | 2019-02-27 12:34:01 276 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 277 | 278 | 2019-02-27 12:34:01 279 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 280 | 281 | 2019-02-27 12:34:01 282 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 320 ms. 283 | 284 | 2019-02-27 12:34:01 285 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 286 | 287 | 2019-02-27 12:34:36 288 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 289 | 290 | 2019-02-27 12:34:36 291 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 292 | 293 | 2019-02-27 12:34:36 294 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 295 | 296 | 2019-02-27 12:34:36 297 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 298 | 299 | 2019-02-27 12:34:36 300 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 301 | 302 | 2019-02-27 12:34:37 303 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 304 | 305 | 2019-02-27 12:34:37 306 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 307 | 308 | 2019-02-27 12:34:37 309 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 310 | 311 | 2019-02-27 12:34:37 312 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 316 ms. 313 | 314 | 2019-02-27 12:34:37 315 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 316 | 317 | 2019-02-27 12:34:56 318 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 319 | 320 | 2019-02-27 12:34:56 321 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 322 | 323 | 2019-02-27 12:34:57 324 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 325 | 326 | 2019-02-27 12:34:57 327 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 328 | 329 | 2019-02-27 12:34:57 330 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 331 | 332 | 2019-02-27 12:34:57 333 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 334 | 335 | 2019-02-27 12:34:57 336 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 337 | 338 | 2019-02-27 12:34:57 339 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 340 | 341 | 2019-02-27 12:34:57 342 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 254 ms. 343 | 344 | 2019-02-27 12:34:57 345 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 346 | 347 | 2019-02-27 14:16:12 348 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 349 | 350 | 2019-02-27 14:16:12 351 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 352 | 353 | 2019-02-27 14:16:12 354 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 355 | 356 | 2019-02-27 14:16:12 357 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 358 | 359 | 2019-02-27 14:16:12 360 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 361 | 362 | 2019-02-27 14:16:13 363 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 364 | 365 | 2019-02-27 14:16:13 366 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 367 | 368 | 2019-02-27 14:16:13 369 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 370 | 371 | 2019-02-27 14:16:13 372 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 375 ms. 373 | 374 | 2019-02-27 14:16:13 375 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 376 | 377 | 2019-02-27 14:17:28 378 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 379 | 380 | 2019-02-27 14:17:28 381 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 382 | 383 | 2019-02-27 14:17:28 384 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 385 | 386 | 2019-02-27 14:17:28 387 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 388 | 389 | 2019-02-27 14:17:28 390 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 391 | 392 | 2019-02-27 14:17:29 393 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 394 | 395 | 2019-02-27 14:17:29 396 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 397 | 398 | 2019-02-27 14:17:29 399 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 400 | 401 | 2019-02-27 14:17:29 402 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 420 ms. 403 | 404 | 2019-02-27 14:17:29 405 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 406 | 407 | 2019-02-27 14:29:46 408 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 409 | 410 | 2019-02-27 14:29:46 411 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 412 | 413 | 2019-02-27 14:29:46 414 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 415 | 416 | 2019-02-27 14:29:46 417 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 418 | 419 | 2019-02-27 14:29:46 420 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 421 | 422 | 2019-02-27 14:29:46 423 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 424 | 425 | 2019-02-27 14:29:46 426 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 427 | 428 | 2019-02-27 14:29:46 429 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 430 | 431 | 2019-02-27 14:29:46 432 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 287 ms. 433 | 434 | 2019-02-27 14:29:46 435 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 436 | 437 | 2019-02-27 14:30:51 438 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 439 | 440 | 2019-02-27 14:30:51 441 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 442 | 443 | 2019-02-27 14:30:51 444 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 445 | 446 | 2019-02-27 14:30:51 447 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 448 | 449 | 2019-02-27 14:30:51 450 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 451 | 452 | 2019-02-27 14:30:52 453 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 454 | 455 | 2019-02-27 14:30:52 456 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 457 | 458 | 2019-02-27 14:30:52 459 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 460 | 461 | 2019-02-27 14:30:52 462 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 382 ms. 463 | 464 | 2019-02-27 14:30:52 465 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 466 | 467 | 2019-02-27 14:31:11 468 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 469 | 470 | 2019-02-27 14:31:11 471 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 472 | 473 | 2019-02-27 14:31:11 474 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 475 | 476 | 2019-02-27 14:31:11 477 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 478 | 479 | 2019-02-27 14:31:11 480 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 481 | 482 | 2019-02-27 14:31:12 483 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 484 | 485 | 2019-02-27 14:31:12 486 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 487 | 488 | 2019-02-27 14:31:12 489 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 490 | 491 | 2019-02-27 14:31:12 492 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 277 ms. 493 | 494 | 2019-02-27 14:31:12 495 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 496 | 497 | 2019-02-27 14:37:05 498 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 499 | 500 | 2019-02-27 14:37:05 501 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 502 | 503 | 2019-02-27 14:37:05 504 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 505 | 506 | 2019-02-27 14:37:05 507 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 508 | 509 | 2019-02-27 14:37:05 510 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 511 | 512 | 2019-02-27 14:37:06 513 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 514 | 515 | 2019-02-27 14:37:06 516 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 517 | 518 | 2019-02-27 14:37:06 519 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 520 | 521 | 2019-02-27 14:37:06 522 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 576 ms. 523 | 524 | 2019-02-27 14:37:06 525 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 526 | 527 | 2019-02-27 14:40:02 528 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 529 | 530 | 2019-02-27 14:40:02 531 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 532 | 533 | 2019-02-27 14:40:02 534 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 535 | 536 | 2019-02-27 14:40:02 537 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 538 | 539 | 2019-02-27 14:40:02 540 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 541 | 542 | 2019-02-27 14:40:02 543 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 544 | 545 | 2019-02-27 14:40:02 546 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 547 | 548 | 2019-02-27 14:40:02 549 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 550 | 551 | 2019-02-27 14:40:02 552 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 363 ms. 553 | 554 | 2019-02-27 14:40:02 555 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 556 | 557 | 2019-02-27 14:42:43 558 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 559 | 560 | 2019-02-27 14:42:43 561 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 562 | 563 | 2019-02-27 14:42:44 564 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 565 | 566 | 2019-02-27 14:42:44 567 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 568 | 569 | 2019-02-27 14:42:44 570 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 571 | 572 | 2019-02-27 14:42:44 573 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 574 | 575 | 2019-02-27 14:42:44 576 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 577 | 578 | 2019-02-27 14:42:44 579 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 580 | 581 | 2019-02-27 14:42:44 582 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 488 ms. 583 | 584 | 2019-02-27 14:42:44 585 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 586 | 587 | 2019-02-27 14:42:54 588 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 589 | 590 | 2019-02-27 14:42:54 591 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 592 | 593 | 2019-02-27 14:42:54 594 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 595 | 596 | 2019-02-27 14:42:54 597 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 598 | 599 | 2019-02-27 14:42:54 600 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 601 | 602 | 2019-02-27 14:42:54 603 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.mgt.DefaultWebSecurityManager.setSessionManager()]: The org.apache.shiro.web.mgt.DefaultWebSecurityManager implementation expects SessionManager instances that implement the org.apache.shiro.web.session.mgt.WebSessionManager interface. The configured instance is of type [org.apache.shiro.session.mgt.DefaultSessionManager] which does not implement this interface.. This may cause unexpected behavior. 604 | 605 | 2019-02-27 14:42:54 606 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms()]: Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 607 | 608 | 2019-02-27 14:42:54 609 | [WARN]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.config.IniFilterChainResolverFactory.buildChains()]: The [filters] section has been deprecated and will be removed in a future release! Please move all object configuration (filters and all other objects) to the [main] section. 610 | 611 | 2019-02-27 14:42:54 612 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Shiro environment initialized in 301 ms. 613 | 614 | 2019-02-27 14:42:54 615 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStart()]: Started o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,AVAILABLE} 616 | 617 | 2019-02-27 14:44:04 618 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Cleaning up Shiro Environment 619 | 620 | 2019-02-27 14:44:04 621 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler.doStop()]: Stopped o.e.j.w.WebAppContext@2b491fee{/,file:///D:/stsWork/jfinal-jwt/src/main/webapp/,UNAVAILABLE} 622 | 623 | 2019-02-27 14:44:05 624 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet()]: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 625 | 626 | 2019-02-27 14:44:05 627 | [INFO]-[Thread: JFinal-Scanner]-[org.eclipse.jetty.server.handler.ContextHandler$Context.log()]: Initializing Shiro environment 628 | 629 | 2019-02-27 14:44:05 630 | [INFO]-[Thread: JFinal-Scanner]-[org.apache.shiro.web.env.EnvironmentLoader.initEnvironment()]: Starting Shiro environment initialization. 631 | --------------------------------------------------------------------------------