I have the same login-module for ejb/web layer.
I want to retrieve the clientIP in the login module.
Is there anyway to do it ?
I used the PolicyContext to retrieve it when the request type is http.
Object request =
PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
remoteIP = ((javax.servlet.http.HttpServletRequest)request)
.getRemoteHost();
Is there anyway to get it when the call is for a ejb ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164201#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...