We want to add a white list to a spring integration http inbound gateway. I have been googled for a while but found some useful that there is some out-of-box filter in Spring Integration which it can do? Like:
& lt; Int-http: inbound-gateway request-channel = "toOutbound" path = "/ proxy / some service" & gt; & Lt; Int: filter expression = "hasIpAddress (www.somepartner.com, www.otherpartner.com)" /> & Lt; / Integer - http & gt; Or how can we obtain the request IP address in the message header and apply a custom filter.
Any ideas welcome, thanks.
Currently the HP Gateway runs within the servlet container (tomato etc); You can either use the safety features of the original container or secure your application using the Spring Security Project (Dispatcher Serot) server independent of the implementation.
No comments:
Post a Comment