org.springframework.security.authentication.BadCredentialsException: Kerberos validation not successful

Stack Overflow | Jahangir Alam | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. org.springframework.security.authentication.BadCredentialsException

    Kerberos validation not successful

    at com.fdiapp.authentication.systemuser.service.IbmJaasKerberosTicketValidator.validateTicket()
  2. com.fdiapp.authentication
    IbmJaasKerberosTicketValidator.validateTicket
    1. com.fdiapp.authentication.systemuser.service.IbmJaasKerberosTicketValidator.validateTicket(IbmJaasKerberosTicketValidator.java:50)
    1 frame
  3. org.springframework.security
    KerberosServiceAuthenticationProvider.authenticate
    1. org.springframework.security.kerberos.authentication.KerberosServiceAuthenticationProvider.authenticate(KerberosServiceAuthenticationProvider.java:64)
    1 frame
  4. spring-security-core
    ProviderManager.authenticate
    1. org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
    1 frame
  5. org.springframework.security
    SpnegoAuthenticationProcessingFilter.doFilter
    1. org.springframework.security.kerberos.web.authentication.SpnegoAuthenticationProcessingFilter.doFilter(SpnegoAuthenticationProcessingFilter.java:145)
    1 frame
  6. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    2. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    4. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
    5. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    5 frames
  7. org.springframework.security
    CsrfFilter.doFilterInternal
    1. org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:85)
    1 frame
  8. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  9. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    1 frame
  10. org.springframework.security
    HeaderWriterFilter.doFilterInternal
    1. org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:57)
    1 frame
  11. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  12. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    1 frame
  13. org.springframework.security
    WebAsyncManagerIntegrationFilter.doFilterInternal
    1. org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)
    1 frame
  14. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  15. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
    4. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
    5. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
    5 frames
  16. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
    2 frames
  17. WebSphere
    WebAppFilterChain.doFilter
    1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    2 frames
  18. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.multipart.support.MultipartFilter.doFilterInternal(MultipartFilter.java:118)
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    2 frames
  19. WebSphere
    WSWebContainer.handleRequest
    1. com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
    2. com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
    3. com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
    4. com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
    5. com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
    6. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:940)
    7. com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
    7 frames
  20. com.ibm.ws
    WCChannelLink.ready
    1. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
    1 frame
  21. WebSphere
    HttpInboundLink.ready
    1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
    2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
    3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
    4. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)
    4 frames
  22. com.ibm.io
    AsyncChannelFuture$1.run
    1. com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
    1 frame
  23. com.ibm.ws
    ThreadPool$Worker.run
    1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
    1 frame