Member Manager lookaside repository configuration
Overview
This topic provides a sample Member Manager Lookaside Repository configuration in the wmm.xml file.
Member Manager Lookaside Repository is designed to store attributes that are not supported by a Member Manager main profile repository. The lookaside is a supplemental repository and not a main
<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 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. We 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 we 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 Cloudscape cloudscape com.ibm.ws.wmm.db.dao.cloudscape.WMMCloudscapeDao Oracle oracle com.ibm.ws.wmm.db.dao.oracle.WMMOracleDao Microsoft SQL Server 2000 sqlserver com.ibm.ws.wmm.db.dao.sqlserver.WMMSQLServerDao DB2 on ZOS db2_zos com.ibm.ws.wmm.db.dao.db2zos.WMMDB2ZOSDao DB2 on iSeries 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
Use multiple realms and user registries