• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

configuring security realms in geronimo (aka websphere community edition)

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic