File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Securing single classes with JBossSX in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply 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
 
IntelliJ Java IDE
 
subject: Securing single classes with JBossSX in web.xml
 
Threads others viewed
Java Security Books
DB Role Authorization
Using default JAAS Mechanism in Websphere makes applications to access the context path of the other
Declarative security : mapping user to security roles
Security with DispatchActions
developer file tools