Sun Java System Identity Server version 2004Q2

     Administration Console: User Profile Sample

  ------------------------------------------------------------

     Purpose

     This sample demonstrates how to replace the default user profile 
     view with a customized implementation. 

     The adminstration service has an attribute that stores the user
     profile view bean class to invoke. The default class,
     UMUserProfileViewBean, will be replaced with the sample,
     UserProfileViewBean. A new jsp will replace the default user
     profile jsp. Whenever a user selects to see a user profile, the
     console will look up the class name from the administration
     service, and the sample class file will be invoked instead of the
     default class file. The user profile view bean class can be set
     per organization to allow a different look for each organization.
     It can also be set globally (through Service Configuration tab)
     so all organizations get the new customized view.

  ------------------------------------------------------------

     Files

     1. UserProfileViewBean.java
     2. jsp/UserProfile.jsp

  ------------------------------------------------------------

     Directions

     1. Copy above JSP file to
     /opt/SUNWam/web-src/applications/console/user

     2. Compile the Java files
     cd /opt/SUNWam/samples/console/UserProfile
     gmake all


     3. Create a new jar with the sample class files.
     cd /opt/SUNWam/samples/console
     jar cf am_console_sample.jar com

     4. Copy the am_console_sample.jar into
        /opt/SUNWam/web-src/applications/WEB-INF/lib


     5. Redeploy the console
     Set the DEPLOY_LEVEL to 22 in the silent file
     For webserver: run amws61config -s <silent file>
     For application server: run amas70config -s <silent file>

     6. From the console, change the User Profile Display Class in the
     Administration Service from the default user profile to the sample user 
     profile. This can be done in one of two places, under the Service 
     Configuration tab, or from an organization which has the Administration 
     Service registered. The attribute is organization based so that each 
     organization can have a different user profile. 
     change
     com.iplanet.am.console.user.UMUserProfileViewBean
     to
     com.iplanet.am.console.user.UserProfileViewBean

     7. To see the new user profile page, display any user profile (if
     the class was configured through the Service Configuration tab)
     or in the organization where the User Profile Display Class was
     modified.
