org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext

Icesoft | jmsanchez | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ice:inputFile with @RolesAllowed causes an exception

    Icesoft | 8 years ago | jmsanchez
    org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  2. 0

    Spring Security Child Thread Context

    Stack Overflow | 7 years ago | Lancelot
    org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  3. 0

    Spring - Push Question

    Icesoft | 6 years ago | gio2375
    org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.security.AuthenticationCredentialsNotFoundException

      An Authentication object was not found in the SecurityContext

      at org.springframework.security.intercept.AbstractSecurityInterceptor.credentialsNotFound()
    2. org.springframework.security
      MethodSecurityInterceptor.invoke
      1. org.springframework.security.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:342)
      2. org.springframework.security.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:254)
      3. org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:63)
      3 frames
    3. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      2 frames