Hi Guys,
I managed to get LDAP authentication working using applicationContext-externalAuth-LDAP.xml. But i have one concern when creating ldapContextSource, as you can see below a username and password must be providded in order for authentication to work. is there a way to avoid that?
<bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource">
<constructor-arg value="ldaps://xxxxxxxx.xx.xxx.com:636/dc=fox,dc=com"/>
<property name="userDn"><value>uid=username</value></property>
<property name="password"><value>password</value></property>
</bean>
Thanks
1 Answer:
Posted on August 1, 2013 at 4:21pm
You need the login information if you are pulling info from your LDAP, for example, when you are using LDAP groups to assign roles in JRS. If you are just assigning static roles, you may not need this. I don't know if you can leave this info blank, or if you need to log in as anonymous.
I am assigning LDAP groups to JRS roles, so i guess i have no choice but to keep it. Thanks.