By: neha malhotra user 20 Dec 2017 at 2:04 p.m. CST

9 Responses
neha malhotra gravatar
Hi, I tried overriding message.properties by copying property file to /opt/gluu/jetty/oxauth/custom/pages/WEB-INF/classes/messages_en.properties , but this is not getting picked up. What other updates we need to do in order to override message..properties.

By Aliaksandr Samuseu staff 20 Dec 2017 at 5:13 p.m. CST

Aliaksandr Samuseu gravatar
Hi, Neha. My previous attempts of this showed the similar result, actually. Assigning to Shekhar to review and give his judgement.

By neha malhotra user 25 Dec 2017 at 10:43 p.m. CST

neha malhotra gravatar
Hi Shekhar, kindly update on same. Thanks, Neha

By Shekhar L. staff 26 Dec 2017 at 9:42 a.m. CST

Shekhar L. gravatar
Hi Neha, You need to update the messages_en.properties file and restart the server. if it doesn't work than i think you need to update the file in oxauth.war as the page customization works only for xhtml pages. Thanks, Shekhar L.

By neha malhotra user 26 Dec 2017 at 11:22 p.m. CST

neha malhotra gravatar
Hi Shekhar, Did not worked after copying messages_en.properties file and restarting the server. Thanks, Neha

By Shekhar L. staff 27 Dec 2017 at 12:30 a.m. CST

Shekhar L. gravatar
Hi Neha, I think you should update the file in oxauth.war file as the page customization works only for xhtml pages or you can hardcode the value in xhtml page. Thanks, Shekhar L.

By neha malhotra user 27 Dec 2017 at 12:37 a.m. CST

neha malhotra gravatar
Thanks Shekhar for quick updates. we can hardcode labels of fields like : #{msgs['login.username']} in xhtml, but wanted to know about error messages like user name/password fails.

By Shekhar L. staff 27 Dec 2017 at 5:21 a.m. CST

Shekhar L. gravatar
Hi Neha, For messages you need to modify the properties file in oxauth.war. Thanks , Shekhar L.

By Shekhar L. staff 01 Jan 2018 at 11:18 a.m. CST

Shekhar L. gravatar
Hi Neha , Can we close this issue? Thanks & Regards, Shekhar L.

By neha malhotra user 02 Jan 2018 at 7:43 a.m. CST

neha malhotra gravatar
Yes Shekhar We can close the same.