[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Capturing Client IP
kanth_seenu
do-not-reply at jboss.com
Thu Nov 29 05:24:35 EST 2007
How do I capture the IP of the client which is attempting to login? I browsed some resources on net and found JBAS 1486.
But its not clear about how to do the configuration. I am using JAVA client to connect to my JBOSS server, during the login process I would like to print the client IP in log file.
I thought it must be simple to get the info in login() method of my custom implementation of UsernamePasswordLoginModule class, but it does not seem so.
JBOSS Version: 4.0.5.GA
Any help would be appreciated
P.S> I also refferred http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html?page=4 where they are speaking about HttpServletRequest. Which wont help this scenario
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108823#4108823
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108823
More information about the jboss-dev-forums
mailing list