• 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

Struts 2.0 with authentication security (JAAS?)

 
Greenhorn
Posts: 7
Eclipse IDE C++
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I wrote a test application using JAAS to provide login authentication and some basic role based authorization. However, we are now looking to incorporate Struts 2.0 into our application. However, my attempts to combine the code from their respective web.xml has not panned out. It seems I can use the JAAS security constraints or the struts filter, but not both. Does anyone have any experience with this or can point to a good resource for guidance. I have a basic understanding of Struts and am very new to the whole security aspect.

If it helps we are using a Wildfly 8 web server.

Thank you
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A Struts 2.0 (well, 2.3.x) web app certainly can use JEE standard security. JAAS is one piece of that puzzle.
See the JEE Tutorial for more on how to best secure JEE and Struts apps. If you still have problems or questions, you'll have to give us more information on your configuration and the errors you are receiving.
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic