File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes The questions about JAAS & EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "The questions about JAAS & EJB" Watch "The questions about JAAS & EJB" New topic
Author

The questions about JAAS & EJB

Luke Chang
Greenhorn

Joined: Dec 10, 2003
Posts: 2
I have some questions about JAAS.
1. How do I map principal to Role in Ap Server(ex:JBoss)?
2. When do I need to execute Subject.doAs...?
3. When the authenticated subject has several principals, which one will be caller principal for EJB call?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The questions about JAAS & EJB
 
Similar Threads
Why JAAS ?
JAAS and instance based authorisation
Question on ClassLoader
ejb-jar.xml roles and Principals - PLEASE HELP!
Caller principle lost when Service EJB calls dao EJB using @RunAs