Dynamic proxy preparers

Mark Brouwer <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
Are within the JTSK classes that take ProxyPreparer instances
assumptions the process followed during proxy preparation is constant
(e.g. failures due to constraints seen as definite). I want to have
proxy preparers for which the characteristics of preparing proxies
can/will change at runtime, this involves trust verification, granting
permissions [1] and method constraints to apply. I can oversee the
consequences for my own code on top of the various utilities but a
complete code review of the utilities [2] is something I hope to prevent.

I haven't given it that much though yet, so are there other things
that would make this 'strange' or not working as expected. Any thoughts
to this rather open ended question will be greatly appreciated.

BTW the proxy preparer implementations all have an equals and hashCode,
I assume these have no operational use (the same as with
InvocationLayerFactory) I can't find one after a quick search, the
dynamic proxy preparers won't have a stable equals and hashCode over
time so I see no way of writing them.

[1] I'm aware that retracting permissions is not possible, but I'm not
very concerned about that.

[2] I realize the constraints applicable to multicast discovery are read
once during initialization so this is an area I have to investigate
further. My main interest at this point in time appears to be the set of
trusted servers I want to be able to change during runtime, although I
see no reason why TTL and discovery protocol version should be excluded
or any of the other security related constraints for that matter.
--
Mark

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.