org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.; nested exception is org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.

Pentaho BI Platform Tracking | Curtis Boyden | 3 years ago
  1. 0

    I get the following exception when logged in as 'u1' from our ldap performance test environment and I try to create a SQL Table backed datasource: 15:40:01,039 ERROR [MultitableDatasourceService] Error serializing joins org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.; nested exception is org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory. at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:73) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:286) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:329) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ModelerService.serializeModels(ModelerService.java:147) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.MultitableDatasourceService.serializeJoins(MultitableDatasourceService.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545) at org.pentaho.platform.web.servlet.AbstractGwtRpcProxyServlet.processCall(AbstractGwtRpcProxyServlet.java:137) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:168) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:86) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at com.pentaho.platform.security.a.doFilterHttp(SourceFile:39) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:133) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:265) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:724) Caused by: org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory. at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:122) at org.springframework.security.userdetails.ldap.LdapUserDetailsService.loadUserByUsername(LdapUserDetailsService.java:33) at org.pentaho.platform.plugin.services.security.userrole.ldap.DefaultLdapUserDetailsService.loadUserByUsername(DefaultLdapUserDetailsService.java:20) at org.pentaho.platform.engine.security.DefaultRoleUserDetailsServiceDecorator.loadUserByUsername(DefaultRoleUserDetailsServiceDecorator.java:56) at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:58) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:286) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:329) at org.pentaho.platform.plugin.action.defaultcontent.DefaultContentSystemListener.startup(DefaultContentSystemListener.java:26) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:363) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:57) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:300) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:297) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:339) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:297) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:268) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:181) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

    Pentaho BI Platform Tracking | 3 years ago | Curtis Boyden
    org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.; nested exception is org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.
  2. 0

    I get the following exception when logged in as 'u1' from our ldap performance test environment and I try to create a SQL Table backed datasource: 15:40:01,039 ERROR [MultitableDatasourceService] Error serializing joins org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.; nested exception is org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory. at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:73) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:286) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:329) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.ModelerService.serializeModels(ModelerService.java:147) at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.MultitableDatasourceService.serializeJoins(MultitableDatasourceService.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545) at org.pentaho.platform.web.servlet.AbstractGwtRpcProxyServlet.processCall(AbstractGwtRpcProxyServlet.java:137) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:168) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:86) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278) at com.pentaho.platform.security.a.doFilterHttp(SourceFile:39) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:133) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:265) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:724) Caused by: org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory. at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:122) at org.springframework.security.userdetails.ldap.LdapUserDetailsService.loadUserByUsername(LdapUserDetailsService.java:33) at org.pentaho.platform.plugin.services.security.userrole.ldap.DefaultLdapUserDetailsService.loadUserByUsername(DefaultLdapUserDetailsService.java:20) at org.pentaho.platform.engine.security.DefaultRoleUserDetailsServiceDecorator.loadUserByUsername(DefaultRoleUserDetailsServiceDecorator.java:56) at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:58) at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:286) at org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:329) at org.pentaho.platform.plugin.action.defaultcontent.DefaultContentSystemListener.startup(DefaultContentSystemListener.java:26) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:363) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:57) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:300) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:297) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:339) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:297) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:268) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:181) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

    Pentaho BI Platform Tracking | 3 years ago | Curtis Boyden
    org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.; nested exception is org.springframework.security.userdetails.UsernameNotFoundException: User u1 not found in directory.
  3. 0

    AppFuse - User - Problems after running appfuse:full-source

    nabble.com | 11 months ago
    org.springframework.security.userdetails.UsernameNotFoundException: user >> 'john' not found... >> DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | >> Rolled back transaction after execution of test [testAddAndRemoveUser]. >> DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) >> | Began transaction (1): transaction manager >> [org.springframework.orm.hibernate3.HibernateTransactionManager@f8ff42]; >> rollback [true]. >> DEBUG - UserManagerTest.testSaveUser(36) | saving user with updated phone >> number: >> untitled9.model.User@126aaca[username=user,enabled=true,accountExpired=false,credentialsExpired=false,accountLocked=false,Granted >> Authorities: ,ROLE_USER] >> DEBUG - UserDaoHibernate.saveUser(47) | user's id: -1 >> DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | >> Rolled back transaction after execution of test [testSaveUser]. >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.428 sec >> Running untitled9.service.impl.UserManagerImplTest >> WARN - UserManagerImpl.saveUser(97) | PasswordEncoder not set, skipping >> password encryption... >> DEBUG - UserManagerImpl.removeUser(117) | removing user: 5 >> WARN - UserManagerImpl.saveUser(97) | PasswordEncoder not set, skipping >> password encryption... >> WARN - UserManagerImpl.saveUser(97) | PasswordEncoder not set, skipping >> password encryption... >> org.springframework.dao.DataIntegrityViolationException:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.security.userdetails.UsernameNotFoundException

      User u1 not found in directory.

      at org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser()
    2. spring-security-ldap
      FilterBasedLdapUserSearch.searchForUser
      1. org.springframework.security.ldap.search.FilterBasedLdapUserSearch.searchForUser(FilterBasedLdapUserSearch.java:122)
      1 frame
    3. org.springframework.security
      LdapUserDetailsService.loadUserByUsername
      1. org.springframework.security.userdetails.ldap.LdapUserDetailsService.loadUserByUsername(LdapUserDetailsService.java:33)
      1 frame
    4. org.pentaho.platform
      SolutionContextListener.contextInitialized
      1. org.pentaho.platform.plugin.services.security.userrole.ldap.DefaultLdapUserDetailsService.loadUserByUsername(DefaultLdapUserDetailsService.java:20)
      2. org.pentaho.platform.engine.security.DefaultRoleUserDetailsServiceDecorator.loadUserByUsername(DefaultRoleUserDetailsServiceDecorator.java:56)
      3. org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:58)
      4. org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:286)
      5. org.pentaho.platform.engine.security.SecurityHelper.runAsSystem(SecurityHelper.java:329)
      6. org.pentaho.platform.plugin.action.defaultcontent.DefaultContentSystemListener.startup(DefaultContentSystemListener.java:26)
      7. org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:363)
      8. org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:57)
      9. org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:300)
      10. org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:297)
      11. org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:339)
      12. org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:297)
      13. org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:268)
      14. org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:181)
      15. org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136)
      15 frames
    5. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
      6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
      7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      16. org.apache.catalina.core.StandardService.start(StandardService.java:525)
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      18 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
      2 frames