Jump to content
JasperReports Library 7.0 is now available ×

How to do external LDAP Authentication with Jasper Server


mistery.raja7

Recommended Posts

I want to test single user authentication. I have modified the following beans in "applicationContext-externalAuth-LDAP.xml" file:-

<bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource">
        <constructor-arg value="ldap://ldapip:389/dc=abc,dc=com" />
        <!-- manager user name and password (may not be needed)  -->
        <property name="userDn"><value>cn=Administrator,dc=abc,dc=com</value></property>
        <property name="password"><value>adminpassword</value></property>
    </bean>


&

<bean id="userSearch"
          class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSFilterBasedLdapUserSearch">
        <constructor-arg index="0">
            <value>cn=Users,dc=abc,dc=com</value>
        </constructor-arg>
        <constructor-arg index="1">
            <value>(uid={0})</value>
        </constructor-arg>
        <constructor-arg index="2">
            <ref local="ldapContextSource" />
        </constructor-arg>
        <property name="searchSubtree">
            <value>true</value>
        </property>
    </bean>

I am not able to login to Jasper WEB UI using LDAP Administrator credentials. Any help on how to modify "User Search" bean so that it allows LDAP Admin is highly appreciated

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...