- Notifications
You must be signed in to change notification settings - Fork 25.6k
Security plugin close realms #87429
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
Security plugin close realms #87429
Conversation
| Hi @albertzaharovits, I've created a changelog YAML for you. |
| Pinging @elastic/es-security (Team:Security) |
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/Realms.java Outdated Show resolved Hide resolved
| I think this should be tagged |
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
…ecurity/authc/Realms.java Co-authored-by: Tim Vernum <tim@adjective.org>
Yes, added the label and will merge it there as well. |
| @elasticmachine update branch |
| @elasticmachine run elasticsearch-ci/part-1 |
The `Closeable#close` method on `Realm`s was never called upon node shutdown. This is a problem when realms (eg OIDC) create non-daemon threads that expect to be stopped when the `close` method is invoked. Specifically, it is a problem on Windows where the graceful shutdown is implemented by terminatting all non-daemon threads (see `Bootstrap#stop` and `Bootstrap#initializeNatives`). Closes elastic#86286
The `Closeable#close` method on `Realm`s was never called upon node shutdown. This is a problem when realms (eg OIDC) create non-daemon threads that expect to be stopped when the `close` method is invoked. Specifically, it is a problem on Windows where the graceful shutdown is implemented by terminatting all non-daemon threads (see `Bootstrap#stop` and `Bootstrap#initializeNatives`). Closes elastic#86286
💔 Backport failed
You can use sqren/backport to manually backport by running |
* Security plugin close realms (#87429) The `Closeable#close` method on `Realm`s was never called upon node shutdown. This is a problem when realms (eg OIDC) create non-daemon threads that expect to be stopped when the `close` method is invoked. Specifically, it is a problem on Windows where the graceful shutdown is implemented by terminatting all non-daemon threads (see `Bootstrap#stop` and `Bootstrap#initializeNatives`). Closes #86286 * Add the extension point in LocalStateSecurity
* Security plugin close realms (#87429) The `Closeable#close` method on `Realm`s was never called upon node shutdown. This is a problem when realms (eg OIDC) create non-daemon threads that expect to be stopped when the `close` method is invoked. Specifically, it is a problem on Windows where the graceful shutdown is implemented by terminatting all non-daemon threads (see `Bootstrap#stop` and `Bootstrap#initializeNatives`). Closes #86286 * IOUtils rename around
The `Closeable#close` method on `Realm`s was never called upon node shutdown. This is a problem when realms (eg OIDC) create non-daemon threads that expect to be stopped when the `close` method is invoked. Specifically, it is a problem on Windows where the graceful shutdown is implemented by terminatting all non-daemon threads (see `Bootstrap#stop` and `Bootstrap#initializeNatives`). Closes elastic#86286
* [7.17] Security plugin close realms (#87429) The `Closeable#close` method on `Realm`s was never called upon node shutdown. This is a problem when realms (eg OIDC) create non-daemon threads that expect to be stopped when the `close` method is invoked. Specifically, it is a problem on Windows where the graceful shutdown is implemented by terminatting all non-daemon threads (see `Bootstrap#stop` and `Bootstrap#initializeNatives`). Closes #86286 * Merge fallout * Spotless * More compilation fixes
The
Closeable#closemethod onRealms was never called upon node shutdown.This is a problem when realms (eg OIDC) create non-daemon threads that expect
to be stopped when the
closemethod is invoked. Specifically, it is a problemon Windows where the graceful shutdown is implemented by terminatting all
non-daemon threads (see
Bootstrap#stopandBootstrap#initializeNatives).Closes #86286