Rickard Öberg wrote:
>
> Hey
>
> Luke Taylor wrote:
> > > Okay, I'll try to guess :-)
> > > Probably it is done in
> > > org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker
> > > in the lines
> > >
> > > // Set the security stuff
> > > rmi.setPrincipal( SecurityAssociation.getPrincipal() );
> > > rmi.setCredential( SecurityAssociation.getCredential() );
> > >
> >
> > Ah, OK thanks, I'll have a look. I seem to remember that Rickard has
> > written a book on rmi, so I might get hold of that too - I was
> > reasonably familiar with IIOP, but don't know squat about RMI.
>
> It's not out yet though. Feb 16 on Amazon, search for "Mastering RMI".
>
Errr. Don't suppose you have a preview copy that needs reviewing
(promise I'll buy one when it comes out as well ;-).
> Note that the above lines have nothing to do with RMI. Those are purely
> JBoss.
>
OK, thanks, but I guess an understanding of the protocol stuff would
still come in handy - I know that IIOP has stuff for propagation of
security contexts and so on built in but I'm clueless about RMI or the
differences between RMI versions. I understood that this was one of the
reasons why IIOP was chosen as the default protocol for J2EE. What
happened to the plans for an RMI-IIOP component in JBoss - I think I
remember seeing it as one of the goals (admittedly ages ago, when I
first glimpsed at the site after a former colleague mentioned it).
Luke.
--
Luke Taylor.
PGP Key ID: 0x57E9523C