[jboss-user] [Security & JAAS/JBoss] - Re: Client IP in LoginModule

ragavgomatam do-not-reply at jboss.com
Wed Jul 16 21:50:51 EDT 2008

I assume that client is calling the ejb directly like a java client, which would be using jndi to look up the ejb & connecting to the bean. Usually there is no straight forward way, except to use java.net.ServerSocket  and other java.net API. But if you read the ejb spec, this is one of the DO NOT DO LIST & is certainly not recommended. You can try however.

Try to use the following method:

See if you have any luck. Mostly ejb's use RMI over IIOP so above call may or maynot work depending on container

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

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

More information about the jboss-user mailing list