kent.josefsen
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by kent.josefsen
-
-
I also have the same issue with my LDAP setup. Here are the steps to reproduce:
- Sign in first time with LDAP username and wrong password (Ok)
- Sign in with LDAP username and correct password (Ok)
- Sign out (Ok)
- Sign in with LDAP username and wrong password (Exception)
The problem happens when the user has already been synchronized with the internal database (externally defined) and then try to sign in with the wrong password. I have included the Tomcat server log and LDAP configuration file. The jasperserver.log was empty.
applicationContext-externalAuth-LDAP.xml localhost.2024-03-06.log
JasperServer CE 8.2 LDAP Issue
in Products
Posted
I found a possible workaround by modifying the following section in applicationContext-externalAuth-LDAP.xml:
<bean id="ldapAuthenticationManager" class="com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.JSProviderManager">
<constructor-arg index="0">
<list>
<ref bean="ldapAuthenticationProvider"/>
<!--<ref bean="${bean.daoAuthenticationProvider}"/>-->
<!--anonymousAuthenticationProvider only needed if filterInvocationInterceptor.alwaysReauthenticate is set to true
<ref bean="anonymousAuthenticationProvider"/>-->
</list>
</constructor-arg>
</bean>
I commented out the usage of daoAuthenticationProvider. This solves the issue with the error 500 message, but it also means that the login for the internal jasperadmin account is disabled.