erik.dittert Posted March 26, 2023 Share Posted March 26, 2023 Hi,I am unsuccessfully trying to authenticate Jasperserver to my ldap server.I used current jasperserver version 8.1.0, i copied file from samples to /opt/bitnami/jasperreports/WEB-INF/applicationContext-externalAuth-LDAP.xmlChanged logs to in /opt/bitnami/jasperreports/WEB-INF/log4j2.properties to:# Security Logginglogger.com_jaspersoft_jasperserver_api_security.name=com.jaspersoft.jasperserver.api.securitylogger.com_jaspersoft_jasperserver_api_security.level=INFO and logs say:2023-03-26T18:42:01,760 INFO JSLdapContextSource,main:76 - URL 'ldap://192.168.62.30:7389/dc=gut,dc=xxxxx', root DN is 'dc=gut,dc=xxxx'2023-03-26T18:42:11,045 WARN SecurityConfiguration,ajp-nio-127.0.0.1-8009-exec-1:194 - SECURITY for [iNPUT-VALIDATION] is OFF2023-03-26T18:42:11,047 WARN SecurityConfiguration,ajp-nio-127.0.0.1-8009-exec-1:194 - SECURITY for [sql-INJECTION] is OFF2023-03-26T18:42:11,048 WARN SecurityConfiguration,ajp-nio-127.0.0.1-8009-exec-1:194 - SECURITY for [ENCRYPTION] is OFF2023-03-26T18:42:11,048 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:97 - casSingleSignOutFilter bean was not "dropped into" application context. Using class com.jaspersoft.jasperserver.war.NullFilter instead.2023-03-26T18:42:11,049 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:93 - Filter proxy bean nullFilter discovered.2023-03-26T18:42:11,078 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:97 - proxyPreAuthenticatedProcessingFilter bean was not "dropped into" application context. Using class com.jaspersoft.jasperserver.war.NullFilter instead.2023-03-26T18:42:11,079 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:97 - proxyAuthenticationProcessingFilter bean was not "dropped into" application context. Using class com.jaspersoft.jasperserver.api.security.EncryptionAuthenticationProcessingFilter instead.2023-03-26T18:42:11,080 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:93 - Filter proxy bean proxyBasicProcessingFilter discovered.2023-03-26T18:42:11,081 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:93 - Filter proxy bean proxyRequestParameterAuthenticationFilter discovered.2023-03-26T18:42:11,083 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:97 - corsFilter bean was not "dropped into" application context. Using class org.springframework.web.filter.CorsFilter instead.2023-03-26T18:42:11,086 WARN JSDelegatingFilterProxy,ajp-nio-127.0.0.1-8009-exec-1:97 - proxyExceptionTranslationFilter bean was not "dropped into" application context. Using class org.springframework.security.web.access.ExceptionTranslationFilter instead.2023-03-26T18:42:49,677 WARN EncryptionAuthenticationProcessingFilter,ajp-nio-127.0.0.1-8009-exec-2:85 - Deprecated username parameter used to obtain it from request! switch to new parameter name.2023-03-26T18:50:56,595 WARN EncryptionAuthenticationProcessingFilter,ajp-nio-127.0.0.1-8009-exec-9:85 - Deprecated username parameter used to obtain it from request! switch to new parameter name.i dont know what "Deprecated username parameter used to obtain it from request! switch to new parameter name." could mean.i attached my applicationContext-externalAuth-LDAP.xml.could some tell me what i do wrong? Link to comment Share on other sites More sharing options...
anish.rai Posted March 28, 2023 Share Posted March 28, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
Solution gvtibco Posted March 31, 2023 Solution Share Posted March 31, 2023 Hi, I did a diff between the file you attached here, and the LDAP Auth sample file for version 8.1, and looks like the sample file you started with is not the correct one. The correct sample file is the one with the word 'LDAP' in its name. Just take that one as a starting point, and give it a try. Be sure to remove the older file before placing the new one in there. I have attached a snapshot where the file on the left is the correct sample file to use and the one on the right is your file. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now