Re: Difference between BasicProxyPreparer and VerifyingProxyPreparer?
Peter Jones <[email protected]> Mon, 30 Mar 2009 17:49:24 -0400
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <20090330214924.GA9670@east> |
On Mon, Mar 30, 2009 at 03:31:50AM -0600, Esmond Pitt wrote:
> Subject says it all really. I've read the Javadoc and even the
> source code and I can see that they are doing slightly different
> things, but what? and for what purpose? when would I use one rather
> than the other?
There was some discussion in this thread:
http://archives.java.sun.com/cgi-bin/wa?A2=ind0702&L=JINI-USERS&P=7651
http://archives.java.sun.com/cgi-bin/wa?A2=ind0702&L=JINI-USERS&P=8722
...
The primary motivation was to facilitate specifying, in a
configuration file, arbitrary context elements, like a
BasicUntrustedObjectSecurityContext, to use for the
Security.verifyObjectTrust invocation (whereas BasicProxyPreparer
always uses the specified constraints as the sole context element).
-- Peter
--------------------------------------------------------------------------
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]