-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Provide Session Id Generation Strategy #2251
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
Conversation
270aba2
to
492e60f
Compare
@vpavic Switched from |
return sessionIdGenerator.generateId(); | ||
} | ||
|
||
private static final SessionIdGenerator sessionIdGenerator; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static
is not good idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then what's your suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At present, this PR can solve the problem easily.
I think static
is structural problem (not this PR), I prefer PR #1547, using spring DI is better than SPI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That huge changeset is risky, this one is simple and reliable.
Closing in favor of #2286 |
Fix GH-11