Bookmark Topic Watch Topic
  • New Topic

Server Side JAAS Questions

 
Yi Chen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
 
    Bookmark Topic Watch Topic
  • New Topic