![]()
Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows
Member Manager lookaside repository configuration
Member Manager Lookaside Repository stores attributes that are not supported by a Member Manager main profile repository. The lookaside is a supplemental repository and not a main repository.
This topic provides a sample Member Manager Lookaside Repository configuration in the wmm.xml file.
<repositories> <lookAsideRepository name="wmmDBLookAside" UUID="LA" supportTransactions="true" adapterClassName="com.ibm.ws.wmm.lookaside.db.LookAsideAdapter" supportDynamicAttributes="true" dbMemberRetrievalLimit="200" dataSourceName="jdbc/wmmDS" databaseType="db2" dataAccessManagerClassName="com.ibm.ws.wmm.db.dao.db2.WMMDB2Dao" /> </repositories>
Member Manager Lookaside Repository configuration attributes
name
The name of the repository. For the Member Manager Lookaside Repository, the default name is wmmDBLookAside.
UUID
The universal unique identifier of the repository. You can use any name as long as it is unique in wmm.xml.
supportTransactions
Defines whether or not the repository supports transactions. Should be set to "true" for Member Manager Lookaside Repository.
adapterClassName
The implementation class name of the repository adapter. For the Member Manager Lookaside Repository, you should use "com.ibm.ws.wmm.lookaside.db.LookAsideAdapter".
supportDynamicAttributes
Defines whether or not the adapter supports programmatically defined new attributes. Should be set to "true" for Member Manager Lookaside Repository.
dbMemberRetrievalLimit
The number of members to retrieve in one JDBC SQL statement when querying multiple members, for example: getMembers, getGroupMembers. This parameter is optional and is set to "200" by default.
dataSourceName
The JNDI name of the data source which points to the Member Manager database. The default is "jdbc/wmmDS". If you are using a different name, then you need to update this attribute.wmmDB tables and wmmLA tables are in one physical database; they share the same datasource.
databaseType
The database type of the Member Manager database. Default is "db2". Other possible values are listed in the following table:
Database Type databaseType dataAccessManagerClassName DB2 db2 com.ibm.ws.wmm.db.dao.db2.WMMDB2Dao Oracle oracle com.ibm.ws.wmm.db.dao.oracle.WMMOracleDao Microsoft SQL Server 2000 sqlserver com.ibm.ws.wmm.db.dao.sqlserver.WMMSQLServerDao DB2 for i5/OS db2_iseries com.ibm.ws.wmm.db.dao.db2iseries.WMMDB2iSeriesDao
dataAccessManagerClassName
The implementation class name of the data access manager which is a component inside the Member Manager Lookaside Repository adapter provided by Member Manager. The default settings is "com.ibm.ws.wmm.db.dao.db2.WMMDB2Dao". Other values are listed in the database table above.
Parent topic:
Using multiple realms and user registries