Deployment Example: Deploying and Customizing the Documentum Portlet

SunPortalEnvironment Class

The SunPortalEnvironment class inherits from Jsr168Environment. The SunPortalEnvironment integrates with the Sun portal server. (For specific versions refer to the release notes.) This class implements the following methods:

getUserPrincipal()

Looks up the user principal for trusted authentication mode using classes in the com.iplanet.sso package.

getWriteModePreferenceScopes()

Returns an enumeration of the preference types that can be written.

getNamespace()

Uniquely identifies the HTML for two portlets on the same page in a Sun portal environment.

writeUserLevelPreference()

Writes preferences using APIs in the com.iplanet.am.sdk package.