So the new maven build of OpenAM, we have separated out all the Auth modules.
Each module is now its own jar file. This brings two things to the table. First, it means that it is much easier to add and remove individual auth modules from the war file.
But the second change, is even more exciting. We have slightly changed the way auth modules are packaged. Everything still works the old way, by putting each file (the xml file, the properties file and the jar file) into their specific locations
xml -> config/auth/default
properties -> WEB-INF/classes
jar -> WEB-INF/lib
But now you have another option. If you put the files into the correct paths, INSIDE your jar file, they will be picked up. So if you use this technique, you will be able to put ALL of the files an auth module needs into a single jar, and load it by just dropping the whole thing into WEB-INF/lib and restarting
Comments
Leave a comment