This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?