A Strategy Intelligence Server session can be created via Web APIs, either embedded into portal application or through an External Security Module (ESM) plug-in to Strategy Web or Web Universal. Every time the session is created explicitly, specific user and project level preferences have to be set directly on the new session object as session flags or through public methods. These preferences will not be read from User or Project level preferences.
NOTE: An External Security Module session is created explicitly when getWebIServerSession method is implemented.
Assume that the session is created using the following calls:
WebObjectsFactory factory=WebObjectsFactory.getInstance();
WebIServerSession serverSession=factory.getIServerSession();
The following preferences need to be set on serverSession. Otherwise, the default values will be applied as explained in javadocs for IDSSXMLServerSession in the Strategy Developer Library.





CUSTOMIZATION WARNING:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.