IDPv3 internationalization via links and cookies
Brent Putman
putmanb at georgetown.edu
Wed Nov 4 13:09:03 EST 2015
On 11/4/15 12:56 PM, Cantor, Scott wrote:
>
> I didn't realize it was stateful. The cookie or request header cases obviously would be there on every request, so I assumed the mechanism relied on that.
Actually, the LocaleResolver impls are not *required* to be stateful.
The request header one and the "fixed" one don't support setting the
locale (it's immutable obviously) and so they throw an
UnsupportedOperationException on setLocale(...). So those would not be
usable with the locale handler interceptor.
Off-topic: they use the same methodolgy for their ThemeResolver and
associated handler interceptor to change the "current" theme.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151104/dc9e56c2/attachment.html>
More information about the users
mailing list