Sun Java System Access Manager Policy Agent 2.2 Guide for BEA WebLogic Server/Portal 9.2

Usage of New J2EE Agent API in Policy Agent 2.2

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

Example 6–4 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 in the J2EE agent file is set to true as shown:

com.sun.identity.agents.config.user.principal = true