History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-97
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Dan Diephouse
Reporter: Justen Stepka
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

Ability to determine the IP address of the SOAP client

Created: 05/Jul/05 05:50 PM   Updated: 05/Jul/05 05:56 PM
Component/s: Core
Affects Version/s: 1.0-M4
Fix Version/s: 1.0-M5

Time Tracking:
Not Specified


 Description  « Hide
With the GLUE framework, you can determin the IP address of the client using the following:

Context ctx = Context.thread();
HttpServletRequest request = (HttpServletRequest) ctx.getProperty("httpRequest");

return InetAddress.getLocalHost().getHostAddress();

return request.getRemoteAddr();

It would be keen to be able to obtain the HTTP request of the client. At runtime there is a need to validate the remote address of the client for my specific project. These addresses are determined through a console that I am writting, which to validate the client I check the IP address verses allowed addresses. Similar to NFS.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dan Diephouse - 05/Jul/05 05:56 PM
This is already possible, albeit through a slightly different means:

XFireServletController.getRequest(); (its a static method).