This topic describes how to configure people substitution for Business Process Choreographer.


profile_root/config/cells/cell_name/wim/model/wimxmlextension.xml
profile_root\config\cells\cell_name\wim\model\wimxmlextension.xml
It
is located in profile_root/config/cells/cell_name/wim/model<wim:propertySchema nsURI="http://www.ibm.com/websphere/wim"
dataType="STRING" multiValued="false" propertyName="isAbsent">
<wim:applicableEntityTypeNames>PersonAccount
</wim:applicableEntityTypeNames>
</wim:propertySchema>
<wim:propertySchema nsURI="http://www.ibm.com/websphere/wim"
dataType="STRING" multiValued="true" propertyName="substitutes">
<wim:applicableEntityTypeNames>PersonAccount
</wim:applicableEntityTypeNames>
</wim:propertySchema>
<wim:propertySchema nsURI="http://www.ibm.com/websphere/wim"
dataType="STRING" multiValued="false" propertyName="substitutionStartDate">
<wim:applicableEntityTypeNames>PersonAccount
</wim:applicableEntityTypeNames>
</wim:propertySchema>
<wim:propertySchema nsURI="http://www.ibm.com/websphere/wim"
dataType="STRING" multiValued="false" propertyName="substitutionEndDate">
<wim:applicableEntityTypeNames>PersonAccount
</wim:applicableEntityTypeNames>
</wim:propertySchema>
If you are using a file registry, fileRegistry.xml,
skip to step 4.
Configuring a property extension repository in a
federated repository configuration.
Make sure that the JDBC driver class
is available on the server class path. Click Environment > WebSphere variables to
check. If necessary, add the DataServer JDBC driver to the class path.
For DB2®, add db2jcc4.jar , db2jcc_license_cu.jar,
and db2jcc_license_cisuz.jar to the server's
class path, and click Apply > Save
Make sure that the JDBC driver class
is available on the server class path. Click Environment > WebSphere variables to
check. If necessary, add the Universal JDBC driver to the class path.
For DB2, add db2jcc.jar , db2jcc_license_cu.jar,
and db2jcc_license_cisuz.jar to the server's
class path, and click Apply > Save
Changing the default isolation level for non-CMP
applications and describing how to do so using a new custom property
webSphereDefaultIsolationLevel.

install_root/etc/wim/setup/wimlaproperties.xml
install_root\etc\wim\setup
It is located in install_root/etc/wim/setup\wimlaproperties.xml
<wimprop:property wimPropertyName="isAbsent" dataType="String"
valueLength="128" multiValued="false">
<wimprop:applicableEntityName>
<wimprop:entityName>PersonAccount</wimprop:entityName>
</wimprop:applicableEntityName>
</wimprop:property>
<wimprop:property wimPropertyName="substitutes" dataType="String"
valueLength="128" multiValued="true">
<wimprop:applicableEntityName>
<wimprop:entityName>PersonAccount</wimprop:entityName>
</wimprop:applicableEntityName>
</wimprop:property>
<wimprop:property wimPropertyName="substitutionStartDate" dataType="String"
valueLength="128" multiValued="false">
<wimprop:applicableEntityName>
<wimprop:entityName>PersonAccount</wimprop:entityName>
</wimprop:applicableEntityName>
</wimprop:property>
<wimprop:property wimPropertyName="substitutionEndDate" dataType="String"
valueLength="128" multiValued="false">
<wimprop:applicableEntityName>
<wimprop:entityName>PersonAccount</wimprop:entityName>
</wimprop:applicableEntityName>
</wimprop:property>
Setting up an entry mapping
repository, a property extension repository, or a custom registry
database repository using wsadmin commands.
For example:$AdminTask setupIdMgrPropertyExtensionRepositoryTables {
-reportSqlError true
-schemaLocation install_root/etc/wim/setup
-laPropXML install_root/etc/wim/setup/wimlaproperties.xml
-databaseType db2
-dbURL jdbc:DB2://host:port/name
-dbDriver com.ibm.db2.jcc.DB2Driver
-dbAdminId userID
-dbAdminPassword password }
For example, using a DB2 database
on a Windows platform:
$AdminTask setupIdMgrPropertyExtensionRepositoryTables {
-reportSqlError true
-schemaLocation install_root\etc\wim\setup
-laPropXML install_root\etc\wim\setup\wimlaproperties.xml
-databaseType db2
-dbURL jdbc:DB2://host:port/name
-dbDriver com.ibm.db2.jcc.DB2Driver
-dbAdminId userID
-dbAdminPassword password }
For example,
using a DB2 database on a Linux or UNIX platform:

$AdminTask setupIdMgrPropertyExtensionRepositoryTables {
-reportSqlError true
-schemaLocation install_root/etc/wim/setup
-laPropXML install_root/etc/wim/setup/wimlaproperties.xml
-databaseType db2
-dbURL jdbc:DB2://host:port/name
-dbDriver com.ibm.db2.jcc.DB2Driver
-dbAdminId userID
-dbAdminPassword password }
Where host is
the host name of the database server, port is the
service port for the DB2 instance, and name is
the name of the database, and userID and password provide
database administrator rights.

profile_root/config/cells/cellName/wim/config/wimconfig.xml
profile_root\config\cells\cellName\wim\config\wimconfig.xml<config:repositories xsi:type="config:LdapRepositoryType"
adapterClassName="com.ibm.ws.wim.adapter.ldap.LdapAdapter"
id="ldaprepo1" ...>
...
<config:attributeConfiguration>
<config:propertiesNotSupported name="isAbsent"/>
<config:propertiesNotSupported name="substitutes"/>
<config:propertiesNotSupported name="substitutionEndDate"/>
<config:propertiesNotSupported name="substitutionStartDate"/>
</config:attributeConfiguration>
Setting up an entry mapping
repository, a property extension repository, or a custom registry
database repository using wsadmin commands.
For example, using a DB2 database named VMMDB,
a data source named VMMDS: $AdminTask setIdMgrPropertyExtensionRepository {
-dataSourceName jdbc/VMMDS
-databaseType db2
-dbURL jdbc:DB2://host:port/VMMDB
-dbAdminId userID
-dbAdminPassword password
-JDBCDriverClass com.ibm.db2.jcc.DB2Driver
-entityRetrievalLimit 10 }
<config:propertyExtensionRepository
adapterClassName="com.ibm.ws.wim.lookaside.LookasideAdapter"
id="LA"
databaseType="db2"
dataSourceName="jdbc/VMMDS"
dbAdminId="userID"
dbAdminPassword="{xor}PasswordXOR"
dbURL="jdbc:DB2://host:port/VMMDB"
entityRetrievalLimit="10"
JDBCDriverClass="com.ibm.db2.jcc.DB2Driver"/>>