+

Search Tips   |   Advanced Search

Enable basic authentication


Configure basic authentication for the Connections portlets. Use basic authentication if we are not using single sign-on for authentication.

Configure basic authentication allows the manual entry of user credentials in the personalize mode of the portlets. Basic authentication for the portlets is only supported if single sign-on is not already enabled between WebSphere Portal and Connections. If single sign-on is enabled, the basic authentication credentials that are entered in the personalize mode of the portlets are ignored.

Important: Basic authentication is not intended for production use but for a test deployment or proof-of-concept deployments. Single sign-on is the only authentication configuration supported for production use.

If we use basic authentication for the portlets, every user must type in their personal credentials manually in the personalize mode of the portlets or shared credentials can be supplied from the Credential Vault.

If a user changes a valid user ID and password, the user must log out of Portal and log in again to refresh the credentials. If a user enters credential incorrectly, or updates an expired password, logging out and logging back in is not required.

  1. Set the authenticationMethod property to basicAuth in the file \WEB-INF\lcaccelerator\properties\lcaccelerator.properties in the deployed portlets war.

  2. Make sure the changes are applied to all cluster members. Apply changes in the WAR file, redeploy the WAR, and synchronize the changes to all cluster members from the WebSphere deployment manager.

  3. Edit the proxy-config.xml file located at wp_profile\installedApps\<cell_name>\PA_icWEFPtlts.ear\snor.pf.portlets.war\WEB-INF and remove the following cookie settings from the policy definition for the Connections server to prevent the outbound requests to the Connections server from being authenticated with the LTPA token:
                <cookie>LTPA</cookie>
                <cookie>LTPA2</cookie>
                <cookie>LtpaToken</cookie>
                <cookie>LtpaToken2</cookie>

  4. If we change deployed applications, save the file, then restart the portlets application or the application server.


What to do next

After you configure basic authentication, we can enable the portlets in one of the following ways:

To configure the portlets through a system slot:

  1. In Portal Server Administration choose Administration > Access > Credential Vault.

  2. Click Add a vault slot.

  3. Choose a vault and vault segment from select drop-down.

  4. Choose a vault resource to associate with the system slot. If no vault resource is associated with the vault slot, create a vault resource.

  5. Enter a vault slot name. This is the name that is seen in the configuration mode of the portlets.

  6. Check Vault Slot is shared.

  7. Enter a shared user ID and password to be stored in the system slot.

  8. Portal 8, the ADMIN_SLOTS virtual resource requires access permissions. Assign ADMIN_SLOTS "All Authenticated users" permissions. The ADMIN_SLOTS can be found under the virtual resource in the Resources Permissions Portlet

The settings on the personalize mode of the portlets overrides the settings in configuration mode. To enable the personalize mode in the portlets, the Portal administrator must perform step 1 and enable basic authentication.


Parent topic:
Configure authentication for the portlets