最近被升级TIM4.6到5.0的时候被FESI的问题所困惑。IBM从5.0开始会用IBMJS, 不过同时也支持4.6的FESI. 现在的问题是新的客户化得应用到底用什么好的?
-
scriptframework.properties (recommended)
-
For
all new extensions. Use this file to configure script extensions and other scripting functions.
JavaScript extensions are registered in the file ITIM_HOME/data/scriptframework.properties. This file is formatted with the standard Java™ Properties key[.subkey]=value format, where the key is the name assigned to the target script class, described in Table 1, and the value is the full class name of the ScriptExtension interface. The optional subkey is used when more than one extension is registered for a script class.
Note:- Tivoli Identity Manager is installed with a set of extensions for each script class already registered in the scriptframework.properties file. Do not remove these from the file as they are necessary for the product to function correctly.
- To prevent the possibility of a code injection attack, do not use the JavaScript function eval().
fesiextensions.properties (deprecated)
-
Provides support for Free EcmaScript Interpreter (FESI) JavaScript extensions prior to Version 5.0 of
Tivoli Identity Manager. Do not author
new extensions using this deprecated architecture.
If you continue to use the deprecated fesiextensions.properties file, save the fesi.jar library in the ITIM_HOME/lib directory before upgrading to Tivoli Identity Manager to Version 5. Replace the newly-installed file with the custom fesi.jar file after the upgrade completes.