InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.12: Configuring user profile support
6.6.12: Configuring user profile support
When configuring the User Profile Manager, the administrator can specify:
- A user ID and password for accessing the user profile database and table
- The "data wrapper" class that implements user profile support
- The data source for storing user profile data in a table
- The enterprise bean classes for accessing user profiles
- Whether to enable user profiles at this time
The User Profile Manager settings require significant understanding of
the classes that implement user profile
support, particularly if the implementation involves enterprise beans.
To configure a user profile, follow these steps:
- Develop a servlet that accesses the User Profile Manager API.
-
Create an enterprise application that uses the user profile implementation beans.
(These beans can be found in installation_root/lib/userprofile.jar.)
Use the same JNDI datasource name for both UP_ReadOnly and UP_ReadWrite.
Make a note of the JNDI datasource name,
because you must also specify this in userprofile.xml (step 4).
- Deploy the enterprise application in the application server.
-
To installation_root/properties,
add a file named userprofile.xml
in the following format.
Specify enterprise bean class names;
data wrapper class name; and
JNDI names for the read-only bean, read/write bean, and datasource (from step 2).
You must also add user ID and password information for the JNDI datasource.
An example of userprofile.xml follows:
<?xml version="1.0"?>
<userprofile>
<userprofile-enabled>true</userprofile-enabled>
<userprofile-wrapper-class>
<classname>
com.ibm.servlet.personalization.userprofile.UserProfile
</classname>
</userprofile-wrapper-class>
<userprofile-manager-name>
User Profile Manager
</userprofile-manager-name>
<userprofile-bean>
<readonly-interface>
com.ibm.servlet.personalization.userprofile.UP_ReadOnly
</readonly-interface>
<readwrite-interface>
com.ibm.servlet.personalization.userprofile.UP_ReadWrite
</readwrite-interface>
<readonlyhome-interface>
com.ibm.servlet.personalization.userprofile.UP_ReadOnlyHome
</readonlyhome-interface>
<readwritehome-interface>
com.ibm.servlet.personalization.userprofile.UP_ReadWriteHome
</readwritehome-interface>
<readonly-JNDI-lookupName>UP_ReadOnlyHome</readonly-JNDI-lookupName> <readwrite-JNDI-lookupName>UP_ReadWriteHome</readwrite-JNDI-lookupName>
</userprofile-bean>
<userprofile-store>
<database-userid></database-userid>
<database-password></database-password>
<database-datasource></database-datasource>
</userprofile-store>
</userprofile>
- Start the enterprise application.
|
 |
 |
Related topics |
|
| Concept help |
|
|
Overviews |
|
| Administrative procedure |
|
| Administering this object type (overview) |
|
|
| 0.12: What are user profiles and User Profile Managers? |
|
| InfoCenter (product documentation) |
Peer topics |
|
| 6.6.0: About user assistance |
|
| 6.6.1: Administering applications (overview) |
|
| 6.6.2: Administering nodes (overview) |
|
| 6.6.3: Administering application servers |
|
| 6.6.4: Administering EJB containers (overview) |
|
| 6.6.5: Administering EJB modules (overview) |
|
| 6.6.7: Administering Web containers (overview) |
|
| 6.6.8: Administering Web modules (overview) |
|
| 6.6.11: Administering HTTP session support (overview) |
|
| 6.6.13: Administering transports (overview) |
|
| 6.6.14: Administering database connections (overview) |
|
| 6.6.15: Administering custom services (overview) |
|
| 6.6.16: Administering virtual hosts (overview) |
|
| 6.6.18: Securing applications |
|
| 6.6.19: Administering the product messages, logs, and traces (overview) |
|
| 6.6.20: Administering transactions (overview) |
|
| 6.6.24: Administering application client modules (overview) |
|
| 6.6.25: Administering resource providers (overview) |
|
| 6.6.26: Administering application server process definitions (overview) |
|
| 6.6.27: Administering path maps (overview) |
|
| 6.6.28: Administering Object Level Trace and Distributed Debugger support (overview) |
|
| 6.6.29: Administering Location Service Daemons (overview) |
|
| 6.6.30: Administering Object Request Brokers (overview) |
|
| 6.6.32: Administering name service support (overview) |
|
| 6.6.34: Administering environment entries |
|
| 6.6.35: Administering generation of deployment code |
|
| 6.6.36: Administering Java Virtual Machine settings (overview) |
|
| 6.6.37: Administering mail providers and mail sessions (overview) |
|
| 6.6.38: Administering URL providers and URLs (overview) |
|
| 6.6.39: Administering messaging and JMS providers (overview) |
|
| 6.6.41: Administering WebSphere administrative domains (overview) |
|
| 6.6.43: Administering references |
|
| 6.6.45: Administering WebSphere plug-ins for Web servers |
|
| 6.6.48: Administering ports |
|
| 6.6.49: Administering National Language Support |
|
| 6.6.51: Administering network configurations |
|
InfoCenter |
|
To launch the full documentation set in a separate browser window, click: |
| Display InfoCenter |
| |
PDF library |
|
To browse the PDF library for this product, containing this article and others, click: |
| PDF versions |
| |
Using this documentation |
|
Become an InfoCenter super user! To find out more about navigation, numbering, search, downloads, and more, click: |
| Using this documentation |
| |
|