摘要:
在启动参数上 添加 一下 参数 -Dcom.sun.management.jmxremote.port=8999(jmx连接端口号) -Dcom.sun.management.jmxremote.rmi.port=8999 -Dcom.sun.management.jmxremote.ssl=fal 阅读全文
摘要:
原因: 因为用户信息存储在threadLocal中 ,所以在子线程中无法获取 SecurityContextHolder 中有三种存储策略 public static final String MODE_THREADLOCAL = "MODE_THREADLOCAL"; public static 阅读全文