I was trying to change some behavior in OpenAM core components and I find the easiest way to do it is:
- Modify the OpenAM source code
- Compile the Java class
- Deploy the compiled class in ../WEB-INF/classes
- Restart OpenAM
The application container will let /WEB-INF/classes take priority over the class in the jar file residing in the /WEB-INF/lib directory. Nice!
In fact, it's not recommended to put back the modified class into the original jar file. I find that ugly in practice.
.
No comments:
Post a Comment