Flaugh24 commented on code in PR #1918:
URL: https://github.com/apache/ignite-3/pull/1918#discussion_r1161700037
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java:
##########
@@ -143,12 +152,17 @@ public class ClientInboundMessageHandler extends
ChannelInboundHandlerAdapter {
/** Context. */
private ClientContext clientContext;
+ private ChannelHandlerContext channelHandlerContext;
Review Comment:
Done
##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/ClientInboundMessageHandler.java:
##########
@@ -608,4 +637,46 @@ public void exceptionCaught(ChannelHandlerContext ctx,
Throwable cause) {
ctx.close();
}
+
+ @Override
+ public CompletableFuture<?>
onUpdate(ConfigurationNotificationEvent<AuthenticationView> ctx) {
+ return CompletableFuture.runAsync(() -> {
+ if (clientContext != null && channelHandlerContext != null) {
+ onAuthenticationChange();
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]