Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.1.0) Part Number B28221-02 |
|
|
View PDF |
OC4J supports the use of standard JAAS API to retrieve the Subject
, Principal
, and credentials from within business methods and life cycle methods of session beans (stateless and stateful) and entity beans.
Example 22-10 shows how you can use the JAAS API to retrieve credentials in a business method of an enterprise bean deployed to OC4J.