Re: Proxy identity behaves unexpectedly for secure services.

2020-06-05 Thread Peter Firmstone
Thanks Michał, I did consider that briefly, but then I realised there was no way to determine through equality what constraints had been applied and if unsure, the developer can apply constraints again. It's a much bigger advantage to have equals working as expected. Existing service

Re: Proxy identity behaves unexpectedly for secure services.

2020-06-05 Thread Kłeczek , Michał
Hi Peter, I think we need to be careful here - basically the semantics should be: MyServiceProxy originalProxy = ... MethodConstraints localClientConstraints = ... // THIS IS IMPORTANT!!! ((RemoteMethodControl)originalProxy).setConstraints(localClientConstraints).equals(originalProxy) ==