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

tomasc

Members
  • Posts

    2
  • Joined

  • Last visited

tomasc's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thanks. This is a clean installation, not an upgrade. The configuration file comes from the samples folder. LDAP is simple as posible. Your advice only moved me to another error. Is there a simple LDAP service configuration file somewhere? Moving bug by bug is very time-consuming and connecting to LDAP is certainly addressed by multiple people. ERROR ContextLoader,main:350 - Context initialization failed org.springframework.beans.factory.BeanCreationException:Error creating bean with name 'proxyBasicProcessingFilter' defined in ServletContext resource[/WEB-INF/applicationContext-externalAuth-LDAP.xml]: Error setting property values; nested exception isorg.springframework.beans.NotWritablePropertyException: Invalid property 'authenticationManager' of bean class[com.jaspersoft.jasperserver.api.security.externalAuth.ExternalAuthBasicProcessingFilter]: Bean property'authenticationManager' is not writable or has an invalid setter method. Does the parameter type of the settermatch the return type of the getter?
  2. Hi all, I have a problem connecting to the LDAP server for authentification. I prepared simple local LDAP (slapd) with a test user: ``` ldapsearch -x -H "ldap://localhost" -P 3 -LLL -b "uid=testing,ou=People,dc=nodomain" dn: uid=testing,ou=people,dc=nodomain objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount cn: Testing user sn: Testing user loginShell: /bin/bash homeDirectory: /home/testing uidNumber: 3000 gidNumber: 3000 uid: testing ``` Snippet from `applicationContext-externalAuth-LDAP.xml`: ```xml <bean id="ldapContextSource" class="com.jaspersoft.jasperserver.api.security.externalAuth.ldap.JSLdapContextSource"> <constructor-arg value="ldap://127.0.0.1/"/> </bean> <bean id="externalDataSynchronizer" class="com.jaspersoft.jasperserver.api.security.externalAuth.ExternalDataSynchronizerImpl"> <property name="externalUserProcessors"> <list> <ref bean="externalUserSetupProcessor"/> </list></property></bean> <bean id="proxyAuthenticationProcessingFilter" class="com.jaspersoft.jasperserver.api.security.EncryptionAuthenticationProcessingFilter" parent="authenticationProcessingFilter"> <constructor-arg index="0" ref="ldapAuthenticationManager"/> <property name="authenticationSuccessHandler" ref="externalAuthSuccessHandler" /> </bean> ``` OS: Debian 10.11 (4.19.0-18-amd64) Errors in `journalctl -u tomcat9`: ``` 2022-02-07T11:14:37,835 WARN KeystoreManager(Initialization),main:54 - Current system user can't modify keystore. 2022-02-07T11:14:59,511 ERROR ContextLoader,main:350 - Context initialization failed org.springframework.beans.factory.BeanCreatiotLoader,main:350 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proxyAuthenticationProcessingFilter' defined in SernException: Error creating bean with name 'proxyAuthenticationProcessingFilter' defined in ServletContext resource [/WEB-INF/applicationContext-externalAuth-LDAP.xml]: Could not resolve mavletContext resource [/WEB-INF/applicationContext-externalAuth-LDAP.xml]: Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid typ matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities) ```
×
×
  • Create New...