Add user defined attributes to all GridClient messages.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Add user defined attributes to all GridClient messages.

Oleg Ostanin
Hello, Igniters!

Recently we added the possibility of sending user defined attributes from
clients, and check those attributes in a custom authenticator
implementation[1]. However in some cases it's not working well for
GridClient because currently the attributes are only added to TOPOLOGY
message. I've created a ticket with a reproducer:

https://issues.apache.org/jira/browse/IGNITE-12891

I suggest solving this problem by adding user defined attributes to other
GridClient messages such as GridClientAutheticationRequest and so on.

What do you think?

Best regards
Oleg

[1]
https://issues.apache.org/jira/browse/IGNITE-12049
Reply | Threaded
Open this post in threaded view
|

Re: Add user defined attributes to all GridClient messages.

Andrey Kuznetsov
+1

We should garantee user attributes transmission to cluster once they are
set in client configuration.

пн, 13 апр. 2020 г. в 15:09, Oleg Ostanin <[hidden email]>:

> Hello, Igniters!
>
> Recently we added the possibility of sending user defined attributes from
> clients, and check those attributes in a custom authenticator
> implementation[1]. However in some cases it's not working well for
> GridClient because currently the attributes are only added to TOPOLOGY
> message. I've created a ticket with a reproducer:
>
> https://issues.apache.org/jira/browse/IGNITE-12891
>
> I suggest solving this problem by adding user defined attributes to other
> GridClient messages such as GridClientAutheticationRequest and so on.
>
> What do you think?
>
> Best regards
> Oleg
>
> [1]
> https://issues.apache.org/jira/browse/IGNITE-12049
>


--
Best regards,
  Andrey Kuznetsov.