I'd like to track my current user's Locale for a RESTful web application. It 
seems to me that that information is part of the "current user" information, 
and so it should be tracked by Shiro .. is that reasonable? If so, is the Shiro 
session the correct place to keep track of user values like that? If so, what's 
the correct place in the Shiro framework to push the locale into the session? I 
figured it would happen during authentication in my realm's 
doGetAuthenticationInfo() call, but I'm not certain.

If the session isn't the right place for it, does that belong as part of the 
Principal, or is it orthogonal to Shiro and I'm trying to fit a square peg in a 
round hole?

Thanks,
Eric

Reply via email to