org.springframework.security.authentication.InternalAuthenticationServiceException: null

Stack Overflow | user525146 | 2 weeks ago
  1. 0

    Spring Boot: How to auto login after user registration?

    Stack Overflow | 3 months ago | Serge Nikitin
    org.springframework.security.authentication.BadCredentialsException: Bad credentials
  2. 0

    Spring Security taglibs not working with Spring boot | Spring data mongo

    Stack Overflow | 5 months ago | nmpg
    org.springframework.security.authentication.InternalAuthenticationServiceException: No qualifying bean of type [org.springframework.transaction.PlatformTransactionManager] is defined at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:126) ~[spring-security-core-4.1.1.RELEASE.jar!/:4.1.1.RELEASE]
  3. 0

    How can I join two collections spring-data-mongdb as ManyToMany (RDBMS)

    Stack Overflow | 2 weeks ago | user525146
    org.springframework.security.authentication.InternalAuthenticationServiceException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Permit anyone to use a method in a secured Spring Rest Repository

    Stack Overflow | 1 year ago | herau
    org.springframework.security.authentication.InternalAuthenticationServiceException: An Authentication object was not found in the SecurityContext
  6. 0

    How to set Set<bean> to ObjectMapper

    Stack Overflow | 3 months ago | Ravi Kumar Ravanam
    org.springframework.security.authentication.InternalAuthenticationServiceException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.parkcity.security.JwtUserFactory.mapToGrantedAuthorities()
    2. org.parkcity.security
      JwtUserDetailsServiceImpl.loadUserByUsername
      1. org.parkcity.security.JwtUserFactory.mapToGrantedAuthorities(JwtUserFactory.java:31)[classes/:na]
      2. org.parkcity.security.JwtUserFactory.create(JwtUserFactory.java:24)[classes/:na]
      3. org.parkcity.security.service.JwtUserDetailsServiceImpl.loadUserByUsername(JwtUserDetailsServiceImpl.java:25)[classes/:na]
      3 frames
    3. spring-security-core
      ProviderManager.authenticate
      1. org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:114)[spring-security-core-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      2. org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:144)[spring-security-core-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3. org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)[spring-security-core-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3 frames
    4. org.parkcity.security
      AuthenticationRestController.createAuthenticationToken
      1. org.parkcity.security.controller.AuthenticationRestController.createAuthenticationToken(AuthenticationRestController.java:44)[classes/:na]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_111]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_111]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_111]
      4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_111]
      4 frames
    6. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2 frames
    7. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      8 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:648)[tomcat-embed-core-8.5.6.jar:8.5.6]
      1 frame
    9. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)[spring-webmvc-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-embed-core-8.5.6.jar:8.5.6]
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    12. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-embed-websocket-8.5.6.jar:8.5.6]
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    14. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    16. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      13. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      14 frames
    17. org.parkcity.security
      JwtAuthenticationTokenFilter.doFilterInternal
      1. org.parkcity.security.JwtAuthenticationTokenFilter.doFilterInternal(JwtAuthenticationTokenFilter.java:58)[classes/:na]
      1 frame
    18. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      1 frame
    19. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      2. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3 frames
    20. org.springframework.security
      HeaderWriterFilter.doFilterInternal
      1. org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      1 frame
    21. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      1 frame
    22. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3 frames
    23. org.springframework.security
      WebAsyncManagerIntegrationFilter.doFilterInternal
      1. org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      1 frame
    24. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      1 frame
    25. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      2. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)[spring-security-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]
      3 frames
    26. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2 frames
    27. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    28. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2 frames
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    30. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2 frames
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    32. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2 frames
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2 frames
    34. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.5.RELEASE.jar:4.3.5.RELEASE]
      2 frames
    35. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.6.jar:8.5.6]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)[tomcat-embed-core-8.5.6.jar:8.5.6]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)[tomcat-embed-core-8.5.6.jar:8.5.6]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)[tomcat-embed-core-8.5.6.jar:8.5.6]
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)[tomcat-embed-core-8.5.6.jar:8.5.6]
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.5.6.jar:8.5.6]
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)[tomcat-embed-core-8.5.6.jar:8.5.6]
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.6.jar:8.5.6]
      9 frames
    36. Grizzly HTTP
      SocketProcessorBase.run
      1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)[tomcat-embed-core-8.5.6.jar:8.5.6]
      2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.6.jar:8.5.6]
      3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)[tomcat-embed-core-8.5.6.jar:8.5.6]
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)[tomcat-embed-core-8.5.6.jar:8.5.6]
      5. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.6.jar:8.5.6]
      5 frames
    37. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_111]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_111]
      2 frames
    38. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.6.jar:8.5.6]
      1 frame
    39. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_111]
      1 frame