KEYCLOAK-1507
Tomcat Adapter throws NPE under certain conditions
This commit is contained in:
parent
f59d42d5d3
commit
5af4785ba1
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ public abstract class AbstractKeycloakAuthenticatorValve extends FormAuthenticat
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void beforeStop() {
|
protected void beforeStop() {
|
||||||
nodesRegistrationManagement.stop();
|
if (nodesRegistrationManagement != null) {
|
||||||
|
nodesRegistrationManagement.stop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static InputStream getJSONFromServletContext(ServletContext servletContext) {
|
private static InputStream getJSONFromServletContext(ServletContext servletContext) {
|
||||||
|
|
Loading…
Reference in a new issue