On Wed, 30 May 2001, Sampsa Ranta wrote:
> On Tue, 29 May 2001, Scott M Stark wrote:
>
> > > As I said don't like the firewall option overall. In past projects I've
> > > been securing RMI by using custom socket factories and doing check in
> > > accept(), but for JNP this option was not an enabled possibility unless
> > > defining own RMISocketFactory as default so the MarshallObject
> > > would use it.
> >
> > I'll add support for externalizing the RMI socket factories so that you
> > can use that approach. A future version of the jnp provider will allow
> > for secured access based on Java2 permissions.
>
> Well, deep in the Sun's reference implementation it already uses
> java.rmi.server.RMISocketFactory as default RMI socket factory. You can
> use RMISocketFactory.setSocketFactory() to set it to point to your own class.
> So why to dublicate the effort and create another in jnp? I think it
> should check the credentials but no SocketFactory is needed.
Okay, my solution did not work because the classloaders seperated the
MBeans..
- Sampsa Ranta
[EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user