-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Fixing a problem with potential dirty read of a token document on token refresh #64031
Fixing a problem with potential dirty read of a token document on token refresh #64031
Conversation
Could you please add @jkakavas as a reviewer as well since he knows more about this part of code? Thanks |
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java
Outdated
Show resolved
Hide resolved
Adding CreateTokenResult to hold authentication object
@elasticmachine update branch |
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.
LGTM. I left a comment for discussion if anyone is interested.
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java
Show resolved
Hide resolved
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java
Show resolved
Hide resolved
...src/main/java/org/elasticsearch/xpack/security/action/token/TransportRefreshTokenAction.java
Show resolved
Hide resolved
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java
Show resolved
Hide resolved
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/TokenService.java
Show resolved
Hide resolved
.../org/elasticsearch/xpack/security/action/saml/TransportSamlInvalidateSessionActionTests.java
Outdated
Show resolved
Hide resolved
@elasticmachine update branch |
Adding CreateTokenResult to hold authentication object
…en refresh (elastic#64031) * Fixing a problem with potential dirty read of a token document. Related to elastic#59685 * Fixing a problem with potential dirty read of a token document. Adding CreateTokenResult to hold authentication object * Fixing a problem with potential dirty read of a token document. Adding CreateTokenResult to hold authentication object Co-authored-by: Elastic Machine <[email protected]>
…en refresh (#64031) (#64178) * Fixing a problem with potential dirty read of a token document on token refresh (#64031) * Fixing a problem with potential dirty read of a token document. Related to #59685 * Fixing a problem with potential dirty read of a token document. Adding CreateTokenResult to hold authentication object * Fixing a problem with potential dirty read of a token document. Adding CreateTokenResult to hold authentication object Co-authored-by: Elastic Machine <[email protected]> * Fixing tests failures Co-authored-by: Elastic Machine <[email protected]>
Hi @BigPandaToo Not sure if you have talked to @jkakavas, often times we would wait for approvals from all requested reviewers before merging a PR. It's not a requirement, I think our team just kinda spontaneously got into and settled on this habit. |
@ywangd Yes, we talked. I thought one LGTM is enough. Will know. |
As discussed in (#55816) #55816 (comment)
Related to #59685