Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-04 Thread Lidija Dolinar
Sorry for talking to myself :-). We managed to resolve the issue - the cookie was bigger than 4K. I had to debug shiro-web since there was no warning whatsoever and browser obviously just ignored the cookie. This issue is nicely explained here: http://shiro-user.582556.n2.nabble.com/Remember-me-p

Re: Custom symbol in AppModule fetched from another service

2014-03-04 Thread Daniel Jue
First, I'd make your own enum so you don't have misspellings of the keys. public enum MyEnum{ MYKEY } Then: contributeApplicationDefaults(MyEnum.MYKEY,"") Then you can do this elsewhere: @Symbol(MyEnum.MYKEY) private boolean theKey; On Tue, Mar 4, 2014 at 5:17 AM, Emma

Re: Custom symbol in AppModule fetched from another service

2014-03-04 Thread Emmanuel DEMEY
Just use a constant java class like the Tapestry SymbolConstants. 2014-03-04 10:38 GMT+01:00 Chris Mylonas : > Hi All, > > I want to want to > contributeApplicationDefaults("myKey","") in AppModule > for use across the application. > > How do i get "myKey" out of my configura

Custom symbol in AppModule fetched from another service

2014-03-04 Thread Chris Mylonas
Hi All, I want to want to contributeApplicationDefaults("myKey","") in AppModule for use across the application. How do i get "myKey" out of my configuration? Is that what it's there for, custom stuff as well as the tapestry symbols? Cheers Chris

Re: shiro UsernamePasswordToken "RememberMe" problems

2014-03-04 Thread Lidija Dolinar
I pasted shiro's debug logs below. As far as I can see two rememberMe cookies are created: one with value "deleteMe" that gets deleted immediately since Max-Age=0 and another rememberMe cookie that has expiration date 1 year from now. So why don't I see this cookie in a browser? There's a debug m