Configuring simulated single sign-on for WebSphere Portal

Simulated single sign-on is provided for ease of setup in Rational Application Developer where the portlet developer can be up and running without enabling security and without using LDAP. Speed of setup takes precedence over security in a development environment. To enable simulated single sign-on configure your WebSphere Portal machine.About this task

Previous step

Procedure

On your WebSphere Portal machine (where you have Rational Application Developer 7.0 installed), complete the following steps:

  1. Open Rational Application Developer 7.0.

  2. In the Project Navigator view, navigate to the MVCPortlet/WebContent/WEB-INF directory.

  3. Open the portlet.xml file in a text editor.

  4. Search for each <portlet-preferences > tag.

  5. Append the following section to all<portlet-preferences > tags:
    <preference>
     <name>.AuthenticationType</name>
     <value>simulated</value>
     <read-only>true</read-only>
    </preference>
    <preference>
     <name>.SimulatedSSOUserName</name>
     <value>wcsadmin</value>
     <read-only>true</read-only>
    </preference>
    <preference>
     <name>.SimulatedSSOPassword</name>
     <value>password</value>
     <read-only>true</read-only>
    </preference>
    
    Where:

    >
    wcsadmin
    Is the user ID for the registered shopper on WebSphere Commerce.
    password
    Is the password for the registered shopper on WebSphere Commerce.

  6. Save the file.

  7. Next step:Configure the sample portlets.


Related concepts

Authentication types Simulated single sign-on


Related tasks

Configure the sample portlets in the server environment - - -