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

What happens when refreshing the user? #129

Closed
erik-am opened this issue Aug 10, 2014 · 2 comments
Closed

What happens when refreshing the user? #129

erik-am opened this issue Aug 10, 2014 · 2 comments

Comments

@erik-am
Copy link

erik-am commented Aug 10, 2014

Hi,

Some things were not clear to me from the documentation, so I hope that someone can answer the following question.

Is it true that the default LdapUserProvider always connects to the LDAP server when refreshUser() is called, i.e. on every request?
If so, that would be too much of a performance hit for my application. I'd only like to connect to the LDAP server during login.
I guess it is possible to load user data from the database only when refreshing the user (then authentication is not needed), and to only go to the LDAP server during long, by using a custom user provider?

@NikolaySl
Copy link

Yes, it connects on each request.

Repository owner locked and limited conversation to collaborators Oct 14, 2014
@BorisMorel
Copy link
Owner

Reference #133

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants