I am looking into setting up security on one of four modules in an EAR. I have read head first servlets and jsps. I understand most of the stuff, the problem is configuring the roles in geronimo (2.1)
I have been able to set up a security realm from properties files from within the geronimo console. The problem is, when deploying my app, I get the following message:
"web.xml for web app [my appname] includes security elements but Geronimo deployment plan is not provided or does not contain <security-realm-name> element necessary to configure security accordingly."
I have also had a good try at configuring the realm in the geronimo-application.xml, I have also tried setting up a geronimo-web.xml and doing it in that, but im not sure if the geronimo-web.xml is neccessary when the module is enclosed in an ear. Anyway, no matter what I try it still gives me the same message.
If anyone could help, it would be appreciated.
subject: configuring security realms in geronimo (aka websphere community edition)