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

Always load from DB #15

Closed
Pyohwan opened this issue Dec 23, 2016 · 1 comment
Closed

Always load from DB #15

Pyohwan opened this issue Dec 23, 2016 · 1 comment
Labels

Comments

@Pyohwan
Copy link

Pyohwan commented Dec 23, 2016

Hello. I am interested in your project.
You comment "It is not compelling necessary to load the use details from the database." in JwtAuthenticationTokenFilter class.
I look at the JwtUserDetailsServiceImpl class with debug mode. when view web page, always access loadUserByUsername method. So still connect database.

@szerhusenBC
Copy link
Owner

Hi, this comment based on another question: #10

The comment means, that you mustn't load the user details from the database at that point, but for this demo I'm leaving it as it is. For example you could instead read the user details from the credentials in the token.

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

No branches or pull requests

2 participants