Jump to content
JasperReports 7.0 is now available ×

INstalling Server and Using Active Direcotry


Recommended Posts

I found this in the documentation. I may missing something, but how can I modify this file if I haven't installed the server yet?

"To use LDAP with your JasperReports Server, configure the LDAP connection parameters in default_master.properties prior to installing JasperReports Server."

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

If you are installing using the WAR file, you use default_master.properties to configure the install. So it is set up prior to installation.  If you are using the installer executable, that file does not exist, and there are things you can't configure.  In this case, you have to set up the connection properties manually in the application context file.  This is described in the section "Setting LDAP Connection Parameters Manually" near the bottom of this page: 


Here's an extract:

To set the connection parameters for the LDAP server directly in the application context file, configure the ldapContextSource helper bean as follows:

 1.In sample-applicationContext-externalAuth-LDAP[-mt].xml, locate the ldapContextSource bean.
 2.Specify the following information:
      constructor-arg value – The URL of your LDAP server, including the base DN.
      userDn property – The distinguished name (DN) of your LDAP administrator.
      password property – The password of your LDAP administrator.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...