Shiro does not remove cookies on redeploy. Not sure what your issue is, but it’s not Shiro removing anything
> On Feb 23, 2017, at 11:41 AM, Simeó Reig <[email protected]> wrote: > > How can we avoid to shiro removes all rememberMe cookies on each redeploy? > > We have implemented a custom realm, we thougth it was because we haven't > setted serialVersionUID in oir User pojo, but neither work with it > > Thanks again > > Simeo Reig > > > > Shiro.ini > > [main] > authc.loginUrl = /login > user.loginUrl = /login > > adronicaRealm = com.mycompany.shirofaces.AdronicaRealm > > authc = org.apache.shiro.web.filter.authc.PassThruAuthenticationFilter > securityManager.rememberMeManager.cookie.name = shiroTest > securityManager.realms = $adronicaRealm > > [roles] > admin = * > user = usuaris:* , ventes:edicio, ventes:delete > user_grant = ventes:canvi > > [urls] > / = anon > /welcome = anon > /login = user > /admin/** = user > > > > > > >
