This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply locked New topic
Author

Server Side JAAS Questions

Yi Chen
Greenhorn

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:

In EJB:


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
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server Side JAAS Questions