aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes JAAS and EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "JAAS and EJB" Watch "JAAS and EJB" New topic
Author

JAAS and EJB

Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
Hi

As per Mark Cade's study guide behaviour of EJB methods vary according to the role of the user. How should this be achieved?
Answer: Business methods determines the role of the user using JAAS and confiuration information in the deployment descriptor

Is this correct?

Can anyone give me example of how to use JAAS in this case

Thanks

Amit


SCJP, SCJD, SCEA
Yegor Bugayenko
Ranch Hand

Joined: Feb 11, 2011
Posts: 77
Something like this:



You need to read more about "programmatic JAAS" (try to google it).


SCEA, PMP, read my blog: www.yegor256.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS and EJB