Sun OpenSSO Enterprise Policy Agent 3.0 User's Guide for J2EE Agents

Usage of New J2EE Agent API in Policy Agent 3.0

The following example demonstrates the new J2EE agent API in use.

Example 4–5 Usage of New J2EE Agent API

String ssotoken = 

Caution – Caution –

This public API can only retrieve the SSOToken object in EJB context if the value of the following property labeled User Principal Flag (com.sun.identity.agents.config.user.principal) is enabled