Hi , On further debugging, I found out that when security is enabled, and I
do updates/selects from dbeaver, the security context in
ctx.security().securityContext() in the class GridIOManager , method :
createGridIoMessage returns me the securitycontext of the thin client. The
message generated out of createGridIoMessage is passed on to the next node
, and is used in IgniteSecurityProcessor ( withContext method )on the next
node : @Override public OperationSecurityContext withContext(UUID nodeId)
{ return withContext( secCtxs.computeIfAbsent(nodeId,
uuid -> nodeSecurityContext( marsh,
U.resolveClassLoader(ctx.config()), ctx.discovery().node(uuid)
) ) ); }The ctx.discovery().node(uuid) used to
determine the ClusterNode that is passed into nodeSecurityContext() returns
null, since the uuid is that of the remote client id not the remote node id.
I feel this might be a bug and handling security for thin clients might have
broken. Could you advice.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/