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 task

Previous step

Procedure

  1. 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.

  2. Open the WAS console:

  3. Click Security > Global Security >Authentication>JAAS Configuration>Application logins.

  4. Click Portal_LTPA, then expand Additional Properties.

  5. Click JAAS login modules.

  6. Select New to create a new module.

    1. In the Module class name field, type com.ibm.commerce.foundation.internal.client.portal.modules.MVCPortletLoginModule. Accept the default settings for the remaining fields.

    2. Select OK to confirm the module settings.

    3. Save the configuration.

  7. 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.

  8. Click WP AuthenticationService. Under Additional Properties select Custom Properties.

    1. Click New to create new custom properties.

    2. In the Name field, type authentication.basic.login.target.

    3. In the Value field, type Portal_LTPA.

    4. Click OK to confirm the changes.

    5. Save the configuration.

  9. Complete one of the following steps:

  10. 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 - - -