kkpan47 Posted August 24, 2016 Share Posted August 24, 2016 Hi, I have 2 instances of Jasper Server installed. One on my machine and one on a server.I have configured Microsoft AD Authentication for both. The authentication works fine on my machine.On the Server:When i try to login with invalid credentials, i get an error message. This indicates that jasper is able to talk to LDAP ServerWhen i enter valid credentials, i am redirected to localhost:8080/jasperserver/j_spring_security_check. This is a blank page with HTTP 500 StatusBelow are the logs for the same:2016-08-24 13:42:31,816 DEBUG ProviderManager,http-apr-8080-exec-2:152 - Authentication attempt using com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSLdapAuthenticationProvider2016-08-24 13:42:31,816 DEBUG ProviderManager,http-apr-8080-exec-2:152 - Authentication attempt using com.jaspersoft.jasperserver.api.security.externalAuth.wrappers.spring.ldap.JSLdapAuthenticationProvider2016-08-24 13:42:31,817 DEBUG FilterBasedLdapUserSearch,http-apr-8080-exec-2:107 - Searching for user 'karan.pandit', with user search [ searchFilter: '(sAMAccountName={0})', searchBase: 'OU=abc', scope: subtree, searchTimeLimit: 0, derefLinkFlag: false ]2016-08-24 13:42:31,817 DEBUG FilterBasedLdapUserSearch,http-apr-8080-exec-2:107 - Searching for user 'karan.pandit', with user search [ searchFilter: '(sAMAccountName={0})', searchBase: 'OU=abc', scope: subtree, searchTimeLimit: 0, derefLinkFlag: false ]2016-08-24 13:42:32,100 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-2:211 - Searching for entry under DN 'dc=corp,dc=abc,dc=net', base = 'ou=abc', filter = '(sAMAccountName={0})'2016-08-24 13:42:32,100 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-2:211 - Searching for entry under DN 'dc=corp,dc=abc,dc=net', base = 'ou=abc', filter = '(sAMAccountName={0})'2016-08-24 13:42:32,106 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-2:223 - Found DN: cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc2016-08-24 13:42:32,106 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-2:223 - Found DN: cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc2016-08-24 13:42:32,108 DEBUG BindAuthenticator,http-apr-8080-exec-2:108 - Attempting to bind as cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc,dc=corp,dc=abc,dc=net2016-08-24 13:42:32,108 DEBUG BindAuthenticator,http-apr-8080-exec-2:108 - Attempting to bind as cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc,dc=corp,dc=abc,dc=net2016-08-24 13:42:32,649 DEBUG BindAuthenticator,http-apr-8080-exec-2:116 - Retrieving attributes...2016-08-24 13:42:32,649 DEBUG BindAuthenticator,http-apr-8080-exec-2:116 - Retrieving attributes...2016-08-24 13:42:32,924 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-2:182 - Getting authorities for user cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc,dc=corp,dc=abc,dc=net2016-08-24 13:42:32,924 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-2:182 - Getting authorities for user cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc,dc=corp,dc=abc,dc=net2016-08-24 13:42:32,924 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-2:211 - Searching for roles for user 'karan.pandit', DN = 'cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc,dc=corp,dc=abc,dc=net', with filter (uid={1}) in search base ''2016-08-24 13:42:32,924 DEBUG DefaultLdapAuthoritiesPopulator,http-apr-8080-exec-2:211 - Searching for roles for user 'karan.pandit', DN = 'cn=Karan Pandit,ou=Engineering OU,ou=Mumbai,ou=abc,dc=corp,dc=abc,dc=net', with filter (uid={1}) in search base ''2016-08-24 13:42:32,926 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-2:150 - Using filter: (uid=karan.pandit)2016-08-24 13:42:32,926 DEBUG SpringSecurityLdapTemplate,http-apr-8080-exec-2:150 - Using filter: (uid=karan.pandit)2016-08-24 13:42:33,312 DEBUG HttpSessionSecurityContextRepository,http-apr-8080-exec-2:304 - SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2016-08-24 13:42:33,312 DEBUG HttpSessionSecurityContextRepository,http-apr-8080-exec-2:304 - SecurityContext is empty or contents are anonymous - context will not be stored in HttpSession.2016-08-24 13:42:33,312 DEBUG SecurityContextPersistenceFilter,http-apr-8080-exec-2:97 - SecurityContextHolder now cleared, as request processing completed2016-08-24 13:42:33,312 DEBUG SecurityContextPersistenceFilter,http-apr-8080-exec-2:97 - SecurityContextHolder now cleared, as request processing completed Link to comment Share on other sites More sharing options...
naresh.kabra_1 Posted February 8, 2017 Share Posted February 8, 2017 Have you able to resolve this. I am getting same problem. Please help Link to comment Share on other sites More sharing options...
kkumlien Posted June 24, 2020 Share Posted June 24, 2020 This might help: https://community.jaspersoft.com/wiki/after-login-tibco-jasperreports-server-browser-stuck-jspringsecuritycheck-page 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