I need to change temporary password message color and add text in confirmation message for forgotten password task (This task using java class 'BlthGenerateTemporaryPassword') like below picture.
Thanks in advance.
You wouldn't modify this at the java code level, as this is really about the presentation on the console.
Use the CSS inspector in your browser and see if you can isolate what class that message belongs to and then use IM's skin functionality to change the class's color:
How to Create a Skin - CA Identity Manager - 14.1 - CA Technologies Documentation
If the comment by William did not answer your question, please open a support case so we can investigate.
Retrieving data ...