Jump to content
We've recently updated our Privacy Statement, available here ×

Could not login to JasperReports Server


friscoshopping

Recommended Posts

Hi,

I have installed jasperreports server 6.2.0 and configured with LDAP. I could login with jasperadmin but not with the network credentials.

Could you please suggest what is wrong with the below LDAP configuration? I do not see any errors in jasperserver.log

    <bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource">        <constructor-arg value="ldap://ldap.mycompany.me:389/ou=mycompany,dc=mycompany,dc=me"/>        <!-- manager user name and password (may not be needed)  -->        <property name="userDn" value="cn=adminUser,ou=Services,ou=Users,ou=mycompany,dc=mycompany,dc=me"/>        <property name="password" value="adminPwd"/>    </bean>          <bean id="ldapAuthenticationProvider" class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSLdapAuthenticationProvider">        <constructor-arg>            <bean class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSBindAuthenticator">                <constructor-arg><ref local="ldapContextSource"/></constructor-arg>                 <property name="userDnPatterns">                    <list>                        <value>ou=users</value>                    </list>                </property>            </bean>        </constructor-arg>        <constructor-arg>            <bean class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSDefaultLdapAuthoritiesPopulator">                <constructor-arg index="0"><ref local="ldapContextSource"/></constructor-arg>                <constructor-arg index="1"><value></value></constructor-arg>                <property name="groupRoleAttribute" value="title"/>                <property name="groupSearchFilter" value="(uid={1})"/>                <property name="searchSubtree" value="true"/>                <!-- Can setup additional external default roles here  <property name="defaultRole" value="LDAP"/> -->            </bean>        </constructor-arg>    </bean>..insert your code here..[/code]

 

Link to comment
Share on other sites

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