Product DocsMenu

Configuring a Liferay Security Provider

The Coveo connector needs a security provider to be able to get the permissions for each indexed Liferay item, and therefore fully support the Liferay security model. This means that, in a Coveo search interface, a user searching for Liferay content only sees the content to which he has access in the Liferay portal.

Note: You can get familiar with how Coveo components deal with permissions on documents both at indexing and query time (see Security) .

To configure a Liferay security provider

  1. On the Coveo server, access the Administration Tool (see Opening the Administration Tool).

  2. Select Configuration > Security.

  3. In the Security page, in the navigation panel on the left, click Security Providers.

  4. In the Security Providers page, click Add to create a new security provider.

  5. In the Modify Security Provider page:

    1. In the Name box, enter a name to identify this security provider.

      Example: Liferay Security Provider

    2. In the Security Provider Type drop-down list, select Liferay (x64).

    3. In the User Identity section:

      1. In the drop-down list, select the user identity that you selected or created previously.

      2. When needed, click Add, Edit, or Manage user identities respectively to create, modify, or manage user identities.

    4. CES 7.0.8047+ (December 2015) (Optional) In the Security Provider section, in the drop-down list, select the security provider that you selected or created to allow this security provider to resolve and expand the groups (see Liferay Connector Deployment Overview).

    5. In the Liferay Portal Url box, enter the address of the Liferay portal. This should be the same address as the one you will specify when you configure the source for the connector (see Configuring and Indexing a Liferay Source). Enter the URL in the http://[LiferayPortal]:[port] form.

      Example: PortalUrl="http://MyLiferayPortal:8080"

    6. When you have more than one company defined in your Liferay Portal, in the Portal Web Id box, enter which company to index. Otherwise, leave this box empty.

      Note: A company is associated with a WebId. You can find this ID in the Liferay Control Panel. Under Server, click Portal Instances, and then Web Id. There is a maximum of 1 ID per source. The default value is an empty string, which corresponds to the first WebId encountered.

    7. In the Parameters section, in rare cases the Coveo Support could instruct you to click Add Parameters to specify other security provider parameter names and values that could help to troubleshoot security provider issues.

    8. Leave the Allow Complex Identities option cleared as it does not apply to this type of security provider.

    9. Click Save or Apply Changes, depending whether you are creating or modifying a security provider.

What's Next?

Configure and index a Liferay source (see Configuring and Indexing a Liferay Source).

People who viewed this topic also viewed