How to find the name of the catalog variable to customize UI messages?

Hi, I want to modify the messages displayed during user login. I have a custom catalog implemented where there are few messages are customized. I want to add few more customized messages to the catalog which will be displayed in various UI screens. Particularly I am interested in customizing the messages which are displayed during user login, like when userid and password are wrong. I tried browsing through JSPs but couldn't find these message tags. Any help in this is greatly appreciated. Thanks!

[510 byte] By [psbusia] at [2007-11-26 22:23:50]
# 1
grep (or search) the WPMessages.properties file for the text of the strings that are currently displayed. If you find them, then you will know what the key name is.You can sometimes find them by search the form objects, but login does not have an associated form you can access.
JimBearda at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Thanks Jim. I couldn't find WPMessages.properties file in my installation. I am using SIM 6.1 version.

Is there any other location I can find these messages? I have decompiled idmclclient.jar and found a message.class file which contains all the keys but I don't know how to map them to the strings that gets displayed in UI. The one string I am particularly interested in is when you try to login using invalid username and password. The error message shows "Lighthouse(Lighthouse)" and my customer is getting irritated with that term being displayed. Any help is greatly appreciated. Thanks!

psbusia at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Originally the WPMessages.properties file is contained in one of the jar files. I think idm.jar. It's in a config directory. You want to extract the file from the jar then modify it, then put it in config/ and restart the app server.

Another way to do it is to create a CustomCatalog object in xml, but you have to know what the attribute name is that you are setting or overriding before hand.

I think there is also a setting for 'generic' messages for login credentials... but I'm not sure where that is located..

JimBearda at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

Hi Jim, Thanks a ton. I could find WPMessages.properties in idmcommon.jar. But still I have not found the string "- Lighthouse (Lighthouse)" which gets displayed for invalid username and password. I could customize other messages that are getting displayed but most improtantly I wanted to replace Lighthouse term being displayed there. Thanks again.

psbusia at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

The actual "Lighthouse" text, is probably a variable being passed to the string. If you search for the text surrounding the Lighthouse phrase, then you will likely have better luck. It sounds like you might just want to use the generic login messages though...

You can get to this by clicking on "security" then "login" in the admin interface. Click on the "User Interface" login application, and there will be a set of radio buttons in the middle of the page that say

"For Failed Logins

Display detailed login error messages

Display single generic login error message"

Try the generic approach.. see how that works for you.

JimBearda at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

Thanks Jim. That is exactly what I was looking for. Thanks a lot for giving me right pointers. Just to summarize for others benefit,

- The UI messages and keys can be found in WPMessages.Properties.

- In 6.1 version, this file can be found in idmclient.jar

- Some of the login message changes can be done by Login as configurator-> configure -> Login -> change the settings for desired login module. Thanks.

psbusia at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...
# 7
Errata: WPMessages.Properties is in idmcommon.jar.
psbusia at 2007-7-10 11:23:35 > top of Java-index,Web & Directory Servers,Directory Servers...