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

Jasper Server hangs at j_spring_security_check


kkpan47

Recommended Posts

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 Server
  • When i enter valid credentials, i am redirected to localhost:8080/jasperserver/j_spring_security_check. This is a blank page with HTTP 500 Status

Below 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.JSLdapAuthenticationProvider
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.JSLdapAuthenticationProvider
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: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=abc
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=abc
2016-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=net
2016-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=net
2016-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=net
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=net
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,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 completed
2016-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

  • 5 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...