Tagged: customization, openam, text
This topic has 11 replies, 4 voices, and was last updated 7 years, 8 months ago by Scott Heger.
-
AuthorPosts
-
November 17, 2014 at 11:06 am #1211
dima
ParticipantHi,
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,
Dima
November 17, 2014 at 1:18 pm #1224Matt Miller
ParticipantCheck inside your openam/WEB-INF/lib/openam-core-*.jar
November 18, 2014 at 9:55 am #1250dima
ParticipantThank 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 Miller
ParticipantI would just use the jar command to repackage it, nothing special.
November 18, 2014 at 1:27 pm #1256dima
ParticipantI will try.
Thank you again.December 2, 2014 at 6:20 pm #1550Scott Heger
ParticipantAnother 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 #1556dima
ParticipantAnd openAM will not use the same .properties file from the jar?
December 2, 2014 at 8:48 pm #1561Scott Heger
ParticipantCorrect. 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 #1562dima
ParticipantThank you, now it should be much easier
December 4, 2014 at 8:34 am #1576Mark Craig
ParticipantIndeed 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 #1577dima
ParticipantThank you Mark
December 4, 2014 at 3:24 pm #1578Scott Heger
ParticipantThanks Mark. That will help many who have asked about this very thing.
-
AuthorPosts
You must be logged in to reply to this topic.