Hi,
I am having problems with configuring LDAP with OpenKM 6.2. I have configured the variables based on the example posted here: http://wiki.openkm.com/index.php/LDAP_a ... r_examples
However, I continue to receive the following in the catalina.out log file:
I'm hoping someone is able to shed some light who has been able to configure this, as I am very keen to use this piece of software. If I am unable to get it working, then I'll need to start looking for an alternative for our document/file management system.
Thank you in advance,
Jason.
I am having problems with configuring LDAP with OpenKM 6.2. I have configured the variables based on the example posted here: http://wiki.openkm.com/index.php/LDAP_a ... r_examples
However, I continue to receive the following in the catalina.out log file:
Code: Select all
It almost seems like it's not even trying LDAP to authenticate the user, even though I am successfully seeing a user list and a role list in the OpenKM user management area. It's definitely authenticating to LDAP correctly and retrieving the user list, but it does not seem to want to find the user.2013-04-12 16:25:06,352 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/j_spring_security_check'; agai nst '/services/**'
2013-04-12 16:25:06,352 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/j_spring_security_check'; agai nst '/status'
2013-04-12 16:25:06,352 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/j_spring_security_check'; agai nst '/download'
2013-04-12 16:25:06,352 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/j_spring_security_check'; agai nst '/workflow-register'
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/j_spring_security_check'; agai nst '/webdav/**'
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/j_spring_security_check'; agai nst '/feed/**'
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.FilterChainProxy - /j_spring_security_check at position 1 of 8 in additional filter chain ; firing Filter: 'SecurityContextPersistenceFilter'
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - HttpSession returned null object for SPRIN G_SECURITY_CONTEXT
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - No SecurityContext was available from the HttpSession: org.apache.catalina.session.StandardSessionFacade@2030f202. A new one will be created.
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.FilterChainProxy - /j_spring_security_check at position 2 of 8 in additional filter chain ; firing Filter: 'UsernamePasswordAuthenticationFilter'
2013-04-12 16:25:06,353 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter - Request is to process authenticatio n
2013-04-12 16:25:06,355 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.authentication.ProviderManager - Authentication attempt using org.springframework.security.au thentication.dao.DaoAuthenticationProvider
2013-04-12 16:25:06,356 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.provisioning.JdbcUserDetailsManager - Query returned no results for user 'jason'
2013-04-12 16:25:06,356 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.authentication.dao.DaoAuthenticationProvider - User 'jason' not found
2013-04-12 16:25:06,356 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter - Authentication request failed: org. springframework.security.authentication.BadCredentialsException: Bad credentials
2013-04-12 16:25:06,360 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter - Updated SecurityContextHolder to co ntain null Authentication
2013-04-12 16:25:06,360 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter - Delegating to authentication failur e handlerorg.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler@1a643473
2013-04-12 16:25:06,360 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler - Redirecting to /login.jsp?error=1
2013-04-12 16:25:06,361 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.DefaultRedirectStrategy - Redirecting to '/OpenKM/login.jsp?error=1'
2013-04-12 16:25:06,361 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - SecurityContext is empty or contents are a nonymous - context will not be stored in HttpSession.
2013-04-12 16:25:06,361 [http-bio-0.0.0.0-8080-exec-9] DEBUG org.springframework.security.web.context.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completed
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/services /**'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/status'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/download '
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/workflow -register'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/webdav/* *'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/feed/**'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 1 of 8 in additional filter chain; firi ng Filter: 'SecurityContextPersistenceFilter'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - HttpSession returned null object for SPRIN G_SECURITY_CONTEXT
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - No SecurityContext was available from the HttpSession: org.apache.catalina.session.StandardSessionFacade@2030f202. A new one will be created.
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 2 of 8 in additional filter chain; firi ng Filter: 'UsernamePasswordAuthenticationFilter'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 3 of 8 in additional filter chain; firi ng Filter: 'RequestCacheAwareFilter'
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.savedrequest.DefaultSavedRequest - pathInfo: both null (property equals)
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.savedrequest.DefaultSavedRequest - queryString: arg1=null; arg2=error=1 (property not equ als)
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.savedrequest.HttpSessionRequestCache - saved request doesn't match
2013-04-12 16:25:06,366 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 4 of 8 in additional filter chain; firi ng Filter: 'SecurityContextHolderAwareRequestFilter'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 5 of 8 in additional filter chain; firi ng Filter: 'AnonymousAuthenticationFilter'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.authentication.AnonymousAuthenticationFilter - Populated SecurityContextHolder with anony mous token: 'org.springframework.security.authentication.AnonymousAuthenticationToken@90550640: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.s pringframework.security.web.authentication.WebAuthenticationDetails@7798: RemoteIpAddress: 192.168.1.43; SessionId: AC3390A3E137F0F0615A889B07C58B68; Granted Authorities: ROLE_ANONYMO US'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 6 of 8 in additional filter chain; firi ng Filter: 'SessionManagementFilter'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 7 of 8 in additional filter chain; firi ng Filter: 'ExceptionTranslationFilter'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 at position 8 of 8 in additional filter chain; firi ng Filter: 'FilterSecurityInterceptor'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/frontend /**'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/login.jsp'; against '/login.js p'
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /login .jsp?error=1; Attributes: [IS_AUTHENTICATED_ANONYMOUSLY]
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Previously Authenticated: org.springframewor k.security.authentication.AnonymousAuthenticationToken@90550640: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.aut hentication.WebAuthenticationDetails@7798: RemoteIpAddress: 192.168.1.43; SessionId: AC3390A3E137F0F0615A889B07C58B68; Granted Authorities: ROLE_ANONYMOUS
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.access.vote.AffirmativeBased - Voter: org.springframework.security.access.vote.RoleVoter@2b87 514a, returned: 0
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.access.vote.AffirmativeBased - Voter: org.springframework.security.access.vote.AuthenticatedV oter@40e9e799, returned: 1
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Authorization successful
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - RunAsManager did not change Authentication o bject
2013-04-12 16:25:06,367 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.FilterChainProxy - /login.jsp?error=1 reached end of additional filter chain; proceeding with original chain
2013-04-12 16:25:06,402 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.access.ExceptionTranslationFilter - Chain processed normally
2013-04-12 16:25:06,403 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - SecurityContext is empty or contents are a nonymous - context will not be stored in HttpSession.
2013-04-12 16:25:06,403 [http-bio-0.0.0.0-8080-exec-8] DEBUG org.springframework.security.web.context.SecurityContextPersistenceFilter - SecurityContextHolder now cleared, as request processing completedI'm hoping someone is able to shed some light who has been able to configure this, as I am very keen to use this piece of software. If I am unable to get it working, then I'll need to start looking for an alternative for our document/file management system.
Thank you in advance,
Jason.
