Issue #169 resolved

First login fails when email not defined in AD

Bryan Cook
created an issue

If I've got a user that doesn't have an email address value defined within Active Directory, the first time they attempt to login will fail. After adding an email address to the user within Active Directory, the login will be successful.

2012-06-01 19:34:54.406:INFO:oejs.AbstractConnector:Started SslSelectChannelConnector@0.0.0.0:8181 19:35:01.924 [qtp602266141-18] DEBUG freemarker.cache - Could not find template in cache, creating new one; id=["index.html"["en_US",UTF-8,parsed] ] 19:35:01.928 [qtp602266141-18] DEBUG freemarker.cache - Compiling FreeMarker template "index.html"["en_US",UTF-8,parsed] from "C:\Users\cookbr\AppData\Loca l\Temp\2\jetty-0.0.0.0-8081-scm-webapp.war-_scm-any-\webapp\index.html" 19:35:05.402 [net.sf.ehcache.CacheManager@75f66763] DEBUG net.sf.ehcache.util.UpdateChecker - Update check failed: java.net.UnknownHostException: www.terracotta .org 19:35:17.106 [qtp602266141-20] DEBUG sonia.scm.web.security.DefaultAuthenticationHandler - could not find user cookbr 19:35:17.107 [qtp602266141-20] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.web.security.DefaultAuthenticationHandler ends w ith result, user: null, state: NOT_FOUND 19:35:17.107 [qtp602266141-20] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - try to autenticate user cookbr in context DC=FTC,DC=l ocal 19:35:17.116 [qtp602266141-20] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - found user at CN=Bryan Cook,OU=FrenchTomato,DC=FTC,DC=loca l 19:35:17.119 [qtp602266141-20] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - use LDAP://CN=Bryan Cook,OU=FrenchTomato,DC=FTC,DC=local l dap url for authentication 19:35:17.219 [qtp602266141-20] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - ad user "cookbr" successfully authenticated 19:35:17.228 [qtp602266141-20] TRACE sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - ad authentication failed com4j.ComException: 8000500d (Unknown error) at com4j.Wrapper.invoke(Wrapper.java:166) ~[com4j-20120426-2.jar:na] at $Proxy90.emailAddress(Unknown Source) ~[na:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.authenticate(ActiveDirectoryAuthenticationHandler.java:361) [scm-activedirectory- auth-plugin-1.7.jar:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.authenticate(ActiveDirectoryAuthenticationHandler.java:308) [scm-activedirectory- auth-plugin-1.7.jar:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.authenticate(ActiveDirectoryAuthenticationHandler.java:115) [scm-activedirectory- auth-plugin-1.7.jar:na] at sonia.scm.web.security.ChainAuthenticatonManager.doAuthentication(ChainAuthenticatonManager.java:207) [classes/:na] at sonia.scm.web.security.ChainAuthenticatonManager.authenticate(ChainAuthenticatonManager.java:133) [classes/:na] at sonia.scm.web.security.BasicSecurityContext.authenticate(BasicSecurityContext.java:123) [classes/:na] at sonia.scm.api.rest.resources.AuthenticationResource.authenticate(AuthenticationResource.java:141) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_03] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_03] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_03] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvid er.java:185) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-bundle-1.12.jar: 1.12] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) [jersey-bundle-1.12.jar:1.12] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [javax.servlet-2.5.0.v201103041518.jar:na] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.filter.SecurityFilter.doFilter(SecurityFilter.java:123) [classes/:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.web.security.ApiBasicAuthenticationFilter.doFilter(ApiBasicAuthenticationFilter.java:101) [classes/:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.filter.GZipFilter.doFilter(GZipFilter.java:79) [scm-core-1.15.jar:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.filter.BaseUrlFilter.doFilter(BaseUrlFilter.java:100) [classes/:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na] at sonia.scm.boot.BootstrapFilter.doFilter(BootstrapFilter.java:104) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1332) [jetty-servlet-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477) [jetty-servlet-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.Server.handle(Server.java:348) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) [jetty-server-7.6.3.v20120416.jar:7.6.3.v2012 0416] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851) [jetty-http-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [jetty-io-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [jetty-io-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [jetty-util-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [jetty-util-7.6.3.v20120416.jar:7.6.3.v20120416] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03] com4j.ComException: 8000500d (Unknown error) at com4j.Native.invoke(Native Method) ~[com4j-20120426-2.jar:na] at com4j.StandardComMethod.invoke(StandardComMethod.java:35) ~[com4j-20120426-2.jar:na] at com4j.Wrapper$InvocationThunk.call(Wrapper.java:340) ~[com4j-20120426-2.jar:na] at com4j.Task.invoke(Task.java:51) ~[com4j-20120426-2.jar:na] at com4j.ComThread.run0(ComThread.java:153) ~[com4j-20120426-2.jar:na] at com4j.ComThread.run(ComThread.java:134) ~[com4j-20120426-2.jar:na] 19:35:17.232 [qtp602266141-20] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticati onHandler ends with result, user: null, state: FAILED

Comments (4)

  1. Sebastian Sdorra repo owner

    Possible fix 09f81e092859.

    Could you please test the version 1.8-SNAPSHOT of the plugin.

    Test version 1.8-SNAPSHOT of the scm-activedirectory-auth-plugin:

    • Login in as administrator
    • Open Config->General
    • Change "Plugin Repository" parameter snapshot from false to true
    • Open Plugins
    • Uninstall the scm-activedirectory-auth-plugin
    • Install version 1.8-SNAPSHOT of the scm-activedirectory-auth-plugin
    • Restart your applicationserver
  2. Bryan Cook reporter

    Ah, much better. I was able to log in successfully, although I did see the Exception below. After logging in, I logged back out, added an email address to the user within Active Directory and logged back in. I saw the email address update successfully. Looks good!  

    08:32:04.985 [qtp602266141-19] DEBUG sonia.scm.web.security.DefaultAuthenticationHandler - could not find user cookbr 08:32:04.985 [qtp602266141-19] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.web.security.DefaultAuthenticationHandler ends w ith result, user: null, state: NOT_FOUND 08:32:04.986 [qtp602266141-19] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - try to autenticate user cookbr in context DC=FTC,DC=l ocal 08:32:04.995 [qtp602266141-19] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - found user at CN=Bryan Cook,OU=FrenchTomato,DC=FTC,DC=loca l 08:32:05.013 [qtp602266141-19] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - use LDAP:CN=Bryan Cook,OU=FrenchTomato,DC=FTC,DC=local l dap url for authentication 08:32:05.280 [qtp602266141-19] DEBUG sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - ad user "cookbr" successfully authenticated 08:32:05.299 [qtp602266141-19] TRACE sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler - could not read email address of ads user com4j.ComException: 8000500d (Unknown error) at com4j.Wrapper.invoke(Wrapper.java:166) [com4j-20120426-2.jar:na] at $Proxy93.emailAddress(Unknown Source) [na:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.getEmailAddress(ActiveDirectoryAuthenticationHandler.java:499) [scm-activedirecto ry-auth-plugin-1.8-SNAPSHOT.jar:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.authenticate(ActiveDirectoryAuthenticationHandler.java:364) [scm-activedirectory- auth-plugin-1.8-SNAPSHOT.jar:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.authenticate(ActiveDirectoryAuthenticationHandler.java:308) [scm-activedirectory- auth-plugin-1.8-SNAPSHOT.jar:na] at sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticationHandler.authenticate(ActiveDirectoryAuthenticationHandler.java:115) [scm-activedirectory- auth-plugin-1.8-SNAPSHOT.jar:na] at sonia.scm.web.security.ChainAuthenticatonManager.doAuthentication(ChainAuthenticatonManager.java:207) [classes/:na] at sonia.scm.web.security.ChainAuthenticatonManager.authenticate(ChainAuthenticatonManager.java:133) [classes/:na] at sonia.scm.web.security.BasicSecurityContext.authenticate(BasicSecurityContext.java:123) [classes/:na] at sonia.scm.api.rest.resources.AuthenticationResource.authenticate(AuthenticationResource.java:141) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.7.0_03] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [na:1.7.0_03] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601) [na:1.7.0_03] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvid er.java:185) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-bundle-1.12.jar: 1.12] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [jersey-bundle-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) [jersey-bundle-1.12.jar:1.12] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [javax.servlet-2.5.0.v201103041518.jar:na] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.filter.SecurityFilter.doFilter(SecurityFilter.java:123) [classes/:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.web.security.ApiBasicAuthenticationFilter.doFilter(ApiBasicAuthenticationFilter.java:101) [classes/:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.filter.GZipFilter.doFilter(GZipFilter.java:79) [scm-core-1.15.jar:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at sonia.scm.filter.BaseUrlFilter.doFilter(BaseUrlFilter.java:100) [classes/:na] at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.15.jar:na] at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na] at sonia.scm.boot.BootstrapFilter.doFilter(BootstrapFilter.java:104) [classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1332) [jetty-servlet-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477) [jetty-servlet-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-security-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) [jetty-servlet-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.Server.handle(Server.java:348) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948) [jetty-server-7.6.3.v20120416.jar:7.6.3.v2012 0416] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851) [jetty-http-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) [jetty-server-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) [jetty-io-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) [jetty-io-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) [jetty-util-7.6.3.v20120416.jar:7.6.3.v20120416] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) [jetty-util-7.6.3.v20120416.jar:7.6.3.v20120416] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03] com4j.ComException: 8000500d (Unknown error) at com4j.Native.invoke(Native Method) [com4j-20120426-2.jar:na] at com4j.StandardComMethod.invoke(StandardComMethod.java:35) [com4j-20120426-2.jar:na] at com4j.Wrapper$InvocationThunk.call(Wrapper.java:340) [com4j-20120426-2.jar:na] at com4j.Task.invoke(Task.java:51) [com4j-20120426-2.jar:na] at com4j.ComThread.run0(ComThread.java:153) [com4j-20120426-2.jar:na] at com4j.ComThread.run(ComThread.java:134) [com4j-20120426-2.jar:na] 08:32:05.327 [qtp602266141-19] DEBUG sonia.scm.web.security.ChainAuthenticatonManager - authenticator sonia.scm.activedirectory.auth.ActiveDirectoryAuthenticati onHandler ends with result, user: cookbr, state: SUCCESS 08:32:05.327 [qtp602266141-19] INFO sonia.scm.user.DefaultUserManager - create user cookbr of type activedirectory 08:32:05.329 [qtp602266141-19] TRACE sonia.scm.group.xml.XmlGroupDAO - add item cookbr to xml backend 08:32:05.329 [qtp602266141-19] TRACE sonia.scm.group.xml.XmlGroupDAO - store xml database 08:32:05.329 [qtp602266141-19] DEBUG sonia.scm.store.JAXBStore - store sonia.scm.user.xml.XmlUserDatabase to C:\SCM-Manager\home\config\users.xml 08:32:05.330 [qtp602266141-19] DEBUG sonia.scm.web.security.BasicSecurityContext - user cookbr is member of Domain Admins, Developers, Windows Admin istrators

  3. Log in to comment