The uuid is set randomly and as we are not allowed to update the node attributes, I am not sure how this can be implemented using node attributes.
Any idea on how this can be achieved ? On Sun, 22 Nov, 2020, 19:22 vbm, <bmvish...@gmail.com> wrote: > Hi, > > We have implemented the security plugin by implementing > GridSecurityProcessor . > > We are using sqlline for querying the cache and are hitting the below issue > (i.e remote node not able to get the security context) > > https://cwiki.apache.org/confluence/display/IGNITE/IEP-41 > > I am not able to get how to implement the below part from IEP-41 > "The subject id for the node can be stored in its > IgniteNodeAttributes.ATTR_SECURITY_SUBJECT_ID attribute." > > > In the GridSecurityProcessor interface the AuthenticationContext, is only > available in authenticate function. > @Override public SecurityContext authenticate(AuthenticationContext ctx) > > If I make IgniteNodeAttributes.ATTR_SECURITY_SUBJECT_ID as a userAttribute > will I be able to update the attribute ? > Will this attribute be visible when eventually below function gets called ? > > public SecurityContext securityContext(UUID subjId){ > > } > > > Regards, > Vishwas > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >