Configuring a Liferay Security Provider
Note: You can get familiar with how Coveo components deal with permissions on documents
both at indexing and query time
To configure a Liferay security provider
-
On the Coveo server, access the Administration Tool (see Opening the Administration Tool).
-
Select Configuration > Security.
-
In the Security page, in the navigation panel on the left, click Security Providers.
-
In the Security Providers page, click Add to create a new security provider.
-
In the Modify Security Provider page:
-
In the Name box, enter a name to identify this security provider.
Example: Liferay Security Provider
-
In the Security Provider Type drop-down list, select Liferay (x64).
-
In the User Identity section:
-
In the drop-down list, select the user identity that you selected or created previously.
-
When needed, click Add, Edit, or Manage user identities respectively to create, modify, or manage user identities.
-
-
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).
-
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"
-
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.
-
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.
-
Leave the Allow Complex Identities option cleared as it does not apply to this type of security provider.
-
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).