Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JBoss/WildFly and the fly likes Securing single classes with JBossSX in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Securing single classes with JBossSX in web.xml" Watch "Securing single classes with JBossSX in web.xml" New topic
Author

Securing single classes with JBossSX in web.xml

Thomas Becker
Greenhorn

Joined: Mar 29, 2005
Posts: 23
Hello community,

this is my second post in this great community and my second question. I wrote a small web portal application and currently I'm using my own security layer.

I want to switch to the JBossSX security framework and have some questions which I couldn't answer myself using google and the JBoss Documentation.

- Can I secure single servlets with roles by only touching the web.xml and leaving the class's code as it is?
- When I have two different .war applications running on one single server (is that even possible?), is it possible to get the users roles out of the same session of both applications?

Thx a lot in advance!
Cheers,
Thomas
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Securing single classes with JBossSX in web.xml