You can configure your connection to the LDAP server in one of two ways:
• | You can configure the connection during installation of JasperReports Server by configuring the external.ldapUrl, external.ldapDn, and/or external.ldapPassword properties in default_master.properties. At this time, you can optionally choose to encrypt any of the LDAP connection parameters. This is the preferred method for setting the LDAP connection parameters. See the JasperReports Server Administrator Guide for more information. |
• | If you have an existing JasperReports Server and cannot reinstall it for some reason, you can configure the connection properties directly in your sample-applicationContext-externalAuth-CAS-mt.xml file. In this case, the properties, including the password, cannot be encrypted. See Setting the LDAP Connection Parametersfor more information. |
The following file gives an example of how to assign users to multiple organizations by integrating CAS with LDAP:
<js-install>/samples/externalAuth-sample-config/sample-applicationContext-externalAuth-CAS-LDAP-mt.xml
This sample uses the ldapExternalTenantProcessor bean to extract an organization hierarchy from the user’s distinguished name. For more information about the ldapExternalTenantProcessor bean, see Mapping to Multiple Organizations in “LDAP Authentication”.
Recommended Comments
There are no comments to display.