userprofile.xml

Here are sample contents for...

$WAS_INSTALL/properties/userprofile.xml

Specify enterprise bean class names; data wrapper class name; and JNDI names for the read-only bean, read/write bean, and data source. You must also add user ID and password information for the JNDI data source

The following example file contains class names as provided in WAS. 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>                  

 

See Also

Managing user profiles