[jboss-user] [Remoting] - Re: non-ssl user authentication?

ron.sigal@jboss.com do-not-reply at jboss.com
Fri Jun 1 20:15:00 EDT 2007


Hi Clark,

I'm not quite sure what you want to achieve, but it's not likely that Remoting does what you want.

It's true that you can pass username and password when creating a JNDI InitialContext.  For example, the following lines taken from the Sun JNDI tutorial at

http://java.sun.com/products/jndi/tutorial/:


  | env.put(Context.PROVIDER_URL, "ldap://ldap.wiz.com:389");
  | env.put(Context.SECURITY_PRINCIPAL, "joeuser");
  | env.put(Context.SECURITY_CREDENTIALS, "joepassword");
  | Context ctx = new InitialContext(env);
  | 


It's also true that RMI server object proxies can be stored in and retrieved from a repository that is accessible through JNDI.  But that connection between RMI and JNDI doesn't currently exist in Remoting, which stores proxies in a plain old RMI Repository.  

Of course, you're welcome to create a Remoting JIRA feature request issue  at http://jira.jboss.com/jira/browse/JBREM, explaining the need for the functionality you're looking for.  Note, however, that all of the Remoting transports (socket, rmi, http, etc.) have an SSL counterpart which supports authentication, etc.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050633#4050633

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050633



More information about the jboss-user mailing list