userprofile.xml

 

In the directory...

/opt/WebSphere/AppServer/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 data source (from step 2). You must also add user ID and password information for the JNDI data source

The following example file contains class names as provided in WebSphere Application Server. If data wrapper and enterprise bean class names are extended programmatically, change them accordingly.

<?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>                  


Managing user profiles

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.