Re: Jeri/SSL export question

Peter Jones <[email protected]> Fri, 27 Mar 2009 16:24:10 -0400
Newsgroups gmane.comp.java.sun.jini
Message-ID <20090327202410.GC8528@east>
On Wed, Mar 25, 2009 at 05:38:26PM -0600, Esmond Pitt wrote:
> If I just use the BasicJeriExporter with the ProxyTrustILFactory for
> an SSL endpoint, the server must implement ServerProxyTrust
> according to the exceptions I get. But the getProxyVerifier() method
> never seems to be called: what's going on here?

You're saying that its getProxyVerifier method isn't invoked even
after a client has passed its proxy to Security.verifyObjectTrust
(perhaps indirectly through a BasicProxyPreparer)?  We probably need
to see more code in order to speculate what's going on.

Or was the proxy a "bootstrap stub" synthesized by the client, like
the subject of your previous thread?  In that case, the proxy may well
be fully trusted by the client's local trust verifiers, in which case
the remote object's getProxyVerifier wouldn't get invoked.  (The same
could be true if attempting to verify the proxy returned by the export
operation in same server JVM.)

-- 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]