Hi,
I've folowed the "remember me" instructions, but it does not work.
This is our ini:
[main]
cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
securityManager.cacheManager = $cacheManager
webtopRealm = com.sonicle.webtop.shiro.WebTopRealm
webtopRealm.jndi = webtop2
securityManager.realms = $webtopRealm
authc = com.sonicle.webtop.shiro.WebTopFormAuthFilter
authc.loginUrl = /Login
authc.successUrl = /Start
authc.usernameParam = wtusername
authc.passwordParam = wtpassword
authc.rememberMeParam = wtrememberme
authc.failureKeyAttribute = loginFailure
[urls]
/public/** = anon
/webtop/** = anon
/** = authc
Then our WebTopRealm override doGetAuthenticationInfo(AuthenticationToken
at) to validate user.
There I debug this:
UsernamePasswordToken upt=(UsernamePasswordToken)at;
logger.debug("isRememberMe={}",upt.isRememberMe());
and that is always false, regardless of the login checkbox value.
Is there anything more I have to do to let it work?
Gabriele.
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Remember-me-not-working-tp7580200.html
Sent from the Shiro User mailing list archive at Nabble.com.