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
posted 6 years ago
Something like this:
You need to read more about "programmatic JAAS" (try to google it).