grealish / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Challenges are not refreshed after locale switch with authenticated user #390

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The questions of the C/R policy are locale specific. However the questions are 
not updated in the specified locale if a User is switching the locale after a 
successful login.

What steps will reproduce the problem?
1. Enable Challenge/ Response configuration with multiple locales for the 
Challenges (i.e. nl and en)
2. Login to PWM (default locale = en)
3. Go to Setup Responses
4. Notice that the Challenges are in locale=en
5. Use the locale selection in the footer to switch to locale=nl

What is the expected output? What do you see instead?
I would expect that the Challenges are presented in locale=nl. However, the the 
User Challenge set is still presented with locale=en. Further investigation 
shows that the User Challenge Set is updated in the UserInfoBean upon login 
only. A locale switch does not force a new read of the User Challenge Set in 
the current locale.

What version of PWM are you using?
Daily build (pwmVersion="1.7.0" pwmBuild="1217" pwmBuildType="RC2")

What ldap directory and version are you using?
eDirectory for Linux x86_64 v8.8 SP7 ON SLES11 SP1 with NMAS C/R policies

Original issue reported on code.google.com by sebastia...@gmail.com on 22 May 2013 at 12:37

GoogleCodeExporter commented 9 years ago

Original comment by jrivard on 23 May 2013 at 7:40

GoogleCodeExporter commented 9 years ago
Fixed in revision 569.

Original comment by jrivard on 31 May 2013 at 6:14

GoogleCodeExporter commented 9 years ago
Seems to be working, thanks for your effort!

Original comment by sebastia...@gmail.com on 31 May 2013 at 8:02