Skip to content
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

Session-less authenticators and user providers #11

Open
weaverryan opened this issue Aug 7, 2015 · 0 comments
Open

Session-less authenticators and user providers #11

weaverryan opened this issue Aug 7, 2015 · 0 comments

Comments

@weaverryan
Copy link
Member

@weaverryan weaverryan commented Aug 7, 2015

This might be a documentation issue:

A) set stateless: false under your firewall if none of your authenticators use the session

B) If you have a stateless firewall, then all UserInterface objects must have a user provider (even if your UserProvider just throws a UsernameNotFoundException in refreshUser() because it basically doesn't support session-based stuff.

Overall, my examples show an entity user provider, but if you don't use that - or have some other crazy situation, you will need a user provider, if only because it's required by Symfony.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.