Develop > Presentation layer > WebSphere Commerce integration with WebSphere Portal > WebSphere Commerce Portal development environment > Setup the WebSphere Commerce Portal development environment
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. This option enables the use of a predetermined WebSphere Commerce user ID, where the system automatically uses the credential to perform authentication through a WebSphere Commerce web service, without having the Portal user aware of this operation. Doing this can achieve the single sign on experience inside of the development environment but without the hassle of enabling security and configuring VMM with LDAP.
To enable simulated single sign-on configure your WebSphere Portal machine.
Before you begin
Ensure that you have completed the following task:
Procedure
- From the MVCPortlet project, navigate to WebContent/WEB-INF/com.ibm.commerce.foundation directory.
- Open portlet-config.xml in a text editor.
- Search for the credential type portlet-plug-in tag and add the following set-property:
<set-property name="AuthenticationType" value="simulated" /> <set-property name="SimulatedSSOUserName" value="username" /> <set-property name="SimulatedSSOPassword" value="password" />Where username is the user ID of the registered shopper on WebSphere Commerce, and password is the password of the registered shopper on WebSphere Commerce.
- Save the file.
Related concepts
Single sign-on (SSO) and WebSphere Commerce Portal
Related tasks
Configure simulated single sign-on for WebSphere Commerce
Configure the sample portlets in the server environment