When we need to configure Active Directory, is it necessary to create roles in the JasperReports Server beforehand or are they automaticelly mapped / created after the connection?
Thanks in advance for your help !
You need to define roles in the application context file and set the rules that map information from your LDAP to roles JRS. The role will be created the first time a user with that role logs in. It's a good idea to create test users for each role first so that you can set up the role permissions and make sure they are working as expected before going live. Role permissions can't be set in the application context file.
I have a sample if you want iggy https://community.jaspersoft.com/wiki/secure-active-directoryldapldaps-authentication-groups