2018-05-15 11:55

@JFinal me.addDirective成功后还是没有进入,不知道什么原因 然后报的错。

2018-05-15 10:16

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0

io.github.wx
LMS
1.1

lms-common
lms-web
lms-service
lms-dao
lms-core
lms-controller

pom

lms
http://maven.apache.org


UTF-8
1.8
1.8
1.1
3.3
1.8
26Dec2008
1.2.4
1.5.0
3.0.1
3.8.1
8.1.8
1.2.17
1.7.21
2.4.2
2.9.0
1.0.9
5.1.44
1.2
1.2.30
1.0.0
2.4.2











com.jfinal
jfinal
${jfinal.version}



com.alibaba
fastjson
${fastjson.version}




com.github.jieblog
jfinal-shiro
${jfinal-shiro}



commons-logging
commons-logging
1.1.1



commons-pool
commons-pool
1.6


org.apache.commons
commons-pool2
${commons-pool2.version}


redis.clients
jedis
${redis.version}




de.ruedigermoeller
fst
2.43






com.alibaba
druid
${druid.version}


com.alibaba
jconsole


com.alibaba
tools





com.jfinal
cos
${cos.version}



com.jfinal.weixin
jfinal-weixin
${jfinl-weixin.version}



com.xiaoleilu
hutool-crypto
3.0.6



com.xiaoleilu
hutool-json
3.1.1



com.xiaoleilu
hutool-http
3.1.1



net.dreamlu
JFinal-assets
1.2.0




mysql
mysql-connector-java
${mysql.version}




org.apache.shiro
shiro-core
${shiro.version}


org.apache.shiro
shiro-web
${shiro.version}


org.apache.shiro
shiro-ehcache
${shiro-ehcache.version}



net.sf.ehcache
ehcache-core
${ehcache.version}



cn.dreampie
jfinal-web
${jfinal-web.version}



cn.dreampie
jfinal-utils
${jfinal-utils.version}



commons-beanutils
commons-beanutils
${commons-beanutils.version}




@JFinal 这是我的pom

2018-05-15 10:03

/**
* 更新用户授权信息缓存.
*
* @param principal 用户标志
*/
public void clearCachedAuthorizationInfo(String principal) {
SimplePrincipalCollection principals = new SimplePrincipalCollection( principal, getName());
clearCachedAuthorizationInfo(principals);
}
可是这样没问题啊,,,,,看起来

2018-05-15 10:01

@JFinal jfinal-shiro 没配置出的问题么????

2018-05-15 10:00

额,是 #principal()出的问题

2018-05-14 15:33

@JFinal 3.3 3.4 下面无法获取模板,,,,麻烦看下http://www.jfinal.com/share/861

2018-05-14 15:26

debug调试 看下数据。

2018-05-14 11:22

没传过去后台罢了