Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
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: 78
Something like this:



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


SCEA, PMP, read my blog: www.yegor256.com
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: JAAS and EJB