You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AnonymousAuthenticationProvider contains authenticate method that verifies wether populated AnonymousToken has the same key as current firewall, which is correct but never run.
To fix that we need in method AnonymousAuthenticationListener::handle add call to AuthenticationManager::authenticate and catch Exception that method may throw.
I've got a fix already and could send a PR if you think that's the right approach.
The text was updated successfully, but these errors were encountered:
If we don'r add this fixed all Anonymous tokens are shared between firewalls because token is not authenticated, so whether we should remove key from AnonymousToken or add this fix and verify token.
AnonymousAuthenticationProvider
containsauthenticate
method that verifies wether populated AnonymousToken has the same key as current firewall, which is correct but never run.To fix that we need in method
AnonymousAuthenticationListener::handle
add call toAuthenticationManager::authenticate
and catch Exception that method may throw.I've got a fix already and could send a PR if you think that's the right approach.
The text was updated successfully, but these errors were encountered: