Re: Jeri/SSL export question
Esmond Pitt <[email protected]> Sun, 29 Mar 2009 17:27:09 -0600
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Thanks Peter, I have in the server as discussed: Exporter exporter =3D new BasicJeriExporter(ep, new ProxyTrustILFactory(serverConstraints, permClass), dgc, keepAlive, RemoteSubject.UUID); Remote stub =3D exporter.export(this); and in the client: ProxyPreparer=09pp =3D new BasicProxyPreparer(true, clientConstraints, pe= rmissions); RemoteSubject=09rs =3D (RemoteSubject)pp.prepareProxy(stub); // execute calls on rs where RemoteSubject is my remote interface. The server implements ServerProxyTrust by returning a new BasicProxyTrustVerifier(stub). A breakpoint on this line is never reached. Again I have to say I'm still not 100% clear about all this, although the= fog is clearing. Basically I'm trying to use JERI/SSL in the securest man= ner possible, and specifically with ServerProxyTrust.getProxyVerifier() being= executed, without using my own proxy stubs. EJP -------------------------------------------------------------------------- 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]