IDPv3 internationalization via links and cookies

Cantor, Scott cantor.2 at osu.edu
Tue Nov 3 10:06:17 EST 2015


On 11/3/15, 3:47 AM, "users on behalf of Simon Lundström" <users-bounces at shibboleth.net on behalf of simlu at su.se> wrote:



>3 is easy, just put:
><bean id="localeResolver" class="org.springframework.web.servlet.i18n.CookieLocaleResolver">
><property name="cookieName" value="lang"/>
></bean>
>in %{idp.home}/system/conf/mvc-beans.xml

I'll look at the class. I can just add it to the default file if it's harmless.

>For 2 I've found a solution, but I haven't been able to make it work yet.

Shouldn't it be possible to use the link to create a cookie? You can't mess with the URLs here, they're too tied up with webflow usage.

>Is there a file in %{idp.home}/conf/ that can be used instead of mvc-beans.xml?
>I'd prefer not to change anything in system (since you also advice against it).

3.2 includes an MVC customizing bean file, but I can probably just add the cookie bean. There is no way now.

-- Scott



More information about the users mailing list