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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply 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: 54
Something like this:



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


SCEA, PMP, OCUP
Lead Architect of fazend.com - Free Hosted Continuous Integration Platform
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JAAS and EJB
 
Similar Threads
Weblogic issue [security]
Security Question for JBoss at Work Authors
Differences between authorisation in JAAS and EJB security
A Question for JBoss at Work Authors
Part 2- How role gets assigned to user in JAAS?