-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AuthenticationCredentialsNotFoundException #233
Comments
I have not been able to reproduce this so I'm closing the ticket. If you're still experiencing the problem with the latest version, we can reopen the ticket. |
I have that problem for quite a while now "Sometimes getting AuthenticationCredentialsNotFoundException between multiple requests" but on my local machine as well. From my stackoverflow question:
|
Also with the latest version of Vaadin4Spring? |
Hello,
When I mark my view class with @secured annotation sometimes I get this exceptoion:
...
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:339)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:198)
...
When I test the code locally - everything works fine. But on the staging server I got such exception.
Has anyone faced it? How can I solve the problem?
My security config is the same as shown in the security-sample.
The text was updated successfully, but these errors were encountered: