[jboss-user] [JBossWS] - Re: restrict access to one ip

richard.opalka@jboss.com do-not-reply at jboss.com
Tue Oct 30 04:46:31 EDT 2007


Hi,

   you could implement JBossWS server side handler.
This handler have method handleMessage(MessageContext).
The MessageContext object has property SERVLET_REQUEST,
through which you can obtain the underlying ServletRequest object.
And on ServletRequest object there are a methods like:
 * getRemoteAddr()
 * getRemoteHost()
which you can use for IP filtering purposes ;-)

Richard


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

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



More information about the jboss-user mailing list