November 17, 2014 at 11:06 am #1211
I cannot find any relevant information how to customize text messages in OpenAM 11, messages like “Authentication failed”, “You are logged out”, “User has no profile” and others.
In documentation http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/install-guide/index/chap-custom-ui.html#lookup-for-ui-files there is explanation about pages customization only.
Some people write about editing of some “.properties” files, but I did not manage to find in 11th version of OpenAM any file of that kind which contain text messages inside.
Thanks in advance,
DimaNovember 17, 2014 at 1:18 pm #1224Matt MillerParticipant
Check inside your openam/WEB-INF/lib/openam-core-*.jarNovember 18, 2014 at 9:55 am #1250
Thank you for the tip Matt.
Do you know where I can read any instructions how to repack the openam-core-*.jar?
I have tried to import and export via eclipse, but after it openAM stops to work.November 18, 2014 at 1:08 pm #1255Matt MillerParticipant
I would just use the jar command to repackage it, nothing special.November 18, 2014 at 1:27 pm #1256
I will try.
Thank you again.December 2, 2014 at 6:20 pm #1550
Another option is to take the specific properties file you want to edit and put it in WEB-INF/classes and not repackage it back into the jar file. Makes it easier to edit in the future.December 2, 2014 at 7:27 pm #1556
And openAM will not use the same .properties file from the jar?December 2, 2014 at 8:48 pm #1561
Correct. If it finds it under WEB-INF/classes it will use that one instead of what it finds in the jar. Just make sure you restart your OpenAM container after putting the file there and any time you make updates to it.December 2, 2014 at 9:09 pm #1562
Thank you, now it should be much easierDecember 4, 2014 at 8:34 am #1576Mark CraigParticipant
Indeed the instructions were missing in the 11.0.0 docs.
The need to unpack the properties files is mentioned in the in-progress docs and should be fixed in OpenAM 12.0.0 docs. See the procedure To Customize UI Elements.December 4, 2014 at 8:47 am #1577
Thank you MarkDecember 4, 2014 at 3:24 pm #1578
Thanks Mark. That will help many who have asked about this very thing.
You must be logged in to reply to this topic.