Warning! I\'m on a bit of a fishing trip here, and I\'m not even sure if the questions that I\'m asking entirely make sense. Please be kind with your responses! :)
I
OpenAM seems to have the ability to plug in your own authentication module.
Presumably, you can make your DB calls from within your extentsion of the AMLoginModule.