Configure basic authentication for WebSphere Portal
Basic authentication is an authentication method that is designed to allow client programs to provide credentials - in the form of a user name and password - when making a request. Although the scheme is implemented, it relies on the assumption that the connection between the client and server computers is secure and can be trusted.About this taskPrevious step
- You have installed the WebSphere Commerce sample portal application.
Procedure
- From your WebSphere Commerce machine, copy the MVCPortletExt.jar file to the WP_installdir/shared/app directory on your WebSphere Portal machine. The MVCPortletExt.jar is found in the following location:
- WC_installdir/components/wcportal/MVCPortlet/WEB-INF/lib/ext/MVCPortletExt.jar
- WCDE_installdir/components/wcportal/MVCPortlet/WEB-INF/lib/ext/MVCPortletExt.jar
If you plan to integrate WebSphere Commerce into a WebSphere Portal clustered environment, copy the MVCPortletExt.jar file to the WP_installdir/shared/app directory of each WebSphere Portal node.
- Open the WAS console:
- Start the WAS server1. For information refer to Start and stopping WAS and WebSphere Portal.
- Start WebSphere Portal's WAS. For example, WebSphere_Portal. For information refer to Start and stopping WAS and WebSphere Portal.
- Click Security > Global Security >Authentication>JAAS Configuration>Application logins.
- Click Portal_LTPA, then expand Additional Properties.
- Click JAAS login modules.
- Select New to create a new module.
- In the Module class name field, type com.ibm.commerce.foundation.internal.client.portal.modules.MVCPortletLoginModule. Accept the default settings for the remaining fields.
- Select OK to confirm the module settings.
- Save the configuration.
- Click Resources>Resource Environment Providers. Ensure that the scope is set at the node level for a stand alone WebSphere Portal server, or at the cluster level for a WebSphere Portal clustered environment.
- Click WP AuthenticationService. Under Additional Properties select Custom Properties.
- Click New to create new custom properties.
- In the Name field, type authentication.basic.login.target.
- In the Value field, type Portal_LTPA.
- Click OK to confirm the changes.
- Save the configuration.
- Complete one of the following steps:
- Restart the WebSphere Portal Server. For example, WebSphere_Portal. For information refer to Start and stopping WAS and WebSphere Portal.
- Restart the WebSphere Portal Server. For information on the WebSphere Portal Server, refer to the Start and stopping WAS and WebSphere Portal.
- Next step:Configure the sample portlets.
Related concepts
Authentication types
Related tasks
Configure the sample portlets in the server environment
Related reference
WebSphere Commerce portlet samples - - -