aspose 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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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