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

elvermg

Members
  • Posts

    9
  • Joined

  • Last visited

elvermg's Achievements

  1. We are using JasperReports Server Community Edition 5.5. and have a problem with a Single-Select Query. The problem is that the Input Control list doesn´t show any values in the list but you can see the spaces for each value. The list must return two values and it shows two spaces but no the value in it. The weird thing is that the report works. We are connecting to a SQL Server 2012 Database and the column being returned is of datatype "Date". Thanks in advance.
  2. I´m triying to connect to MS AD with JR 5.5. I don´t get any error on catalina or jasperserver logs. This is my applicationContext-externalAuth-LDAP.xml file and the AD directory view: <bean id="ldapAuthenticationManager" class="org.springframework.security.providers.ProviderManager"> <property name="providers"> <list> <ref local="ldapAuthenticationProvider"/> <ref bean="${bean.daoAuthenticationProvider}"/> <!-- anonymousAuthenticationProvider only needed if filterInvocationInterceptor.alwaysReauthenticate is set to true <ref bean="anonymousAuthenticationProvider"/>--> </list> </property> </bean> <bean id="ldapAuthenticationProvider" class="org.springframework.security.providers.ldap.LdapAuthenticationProvider"> <constructor-arg> <bean class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator"> <constructor-arg><ref local="ldapContextSource"/></constructor-arg> <property name="userDnPatterns"> <list> <value>uid={0},ou=Users</value> </list> </property> </bean> </constructor-arg> <constructor-arg> <bean class="org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator"> <constructor-arg index="0"><ref local="ldapContextSource"/></constructor-arg> <constructor-arg index="1"><value>ou=MyGroups,dc=elver,dc=com</value></constructor-arg> <property name="groupRoleAttribute"><value>cn</value></property> <property name="groupSearchFilter"><value>(&(objectClass=group)(member={0}))</value></property> <property name="searchSubtree"><value>true</value></property> <property name="defaultRole" value="ROLE_LDAP"/> <!-- Can setup additional external default roles here <property name="defaultRole" value="LDAP"/> --> </bean> </constructor-arg> </bean> <bean id="userSearch" class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch"> <constructor-arg index="0"><value></value></constructor-arg> <constructor-arg index="1"><value>(&(objectClass=user)(sAMAaccountName={0})</value></constructor-arg> <constructor-arg index="2"><ref local="ldapContextSource" /></constructor-arg> <property name="searchSubtree"><value>true</value></property> </bean> <bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource"> <constructor-arg value="ldap://10.10.30.1:389/dc=elver,dc=com"/> <!-- manager user name and password (may not be needed) --> <property name="userDn"><value>cn=Administrator,dc=elver,dc=com</value></property> <property name="password"><value>password</value></property> </bean> Thanks in advance.
  3. This works for me, thanks... mdahlman Wrote: On Windows 7 you definitely need JDK 1.7 for iReport to be able to correctly browse to files. It's a bug in the JVM that doesn't have an obvious workaround. It works fine in JDK 1.7 (JDK 7). First install JDK 7. Next you should point iReport to it (since you probably still have older JDKs that you need for other purposes). You can achieve that by editing this file: C:JaspersoftiReport-Professional-3.7.1.1etcireportpro.conf Your path will be a slightly different... but that should point you in the right direction. I have not worked with Windows Vista. It's possible that the same problem applies and therefore the same solution applies. Likewise for Windows Server 2008. Regards, Matt
  4. I have the same error, please help!!! Thanks in advance...
×
×
  • Create New...