Identity Management (MOSC)

MOSC Banner

How do I create my own resource bundle for doing plug-ins

edited Jan 24, 2013 5:58AM in Identity Management (MOSC) 1 commentAnswered
 I'm doing a validation-handler through plugin on 11g release 2. I've created a custom message and throw a UserManagerUtils.createValidationFailedException(CUSTOM_MSG_KEY) whenever a validation error occurs. I've put the custom message in the oimserver.ear file. 
I finally realized that I should have not done that because as soon as an upgrade is done on the oimserver.ear file then I would have lost my custom resource bundle entries.

So, how do I create a custom resource bundle that I could use with plug-in (validation-handler, action-handler, etc...) work and how do I "register" it so that when I throw the ...createValidationFailedException that it recognizes the CUSTOM_MSG_KEY.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center