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
SCJP, SCJD, SCEA
Joined: Feb 11, 2011
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