Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Server Side JAAS Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply locked New topic

Server Side JAAS Questions

Yi Chen

Joined: Apr 28, 2006
Posts: 27
Hi everyone,

I am new to JAAS. I am confused by following question:

In EJB, we could declare one role has the permission to execute one method like following:

EJB configuration file:


My question is WHO maps the role "Users" to a particular user, for example "john smith"? HOW?

Can we pass the role in for the caller by following code?

Thanks in advance!

Yi Chen
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41089
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.

Ping & DNS - my free Android networking tools app
Don't get me started about those stupid light bulbs.
subject: Server Side JAAS Questions
Similar Threads
Problem with orion-Urgent Please Can any one help us
Exception accessing Local EJB
Server Side JAAS Question
Security question: @RolesAllowed
Getting NullPointerException while accessing Local EJB