Created
April 12, 2015 17:12
-
-
Save nadeesha5814/b2a1f8960dd9234de6a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<proxy name="IpFilteringProxy" | |
transports="https http" | |
startOnLoad="true" | |
trace="disable"> | |
<description/> | |
<target> | |
<inSequence> | |
<log level="full"> | |
<property name="TO Property" expression="get-property('axis2','REMOTE_ADDR')"/> | |
</log> | |
<filter source="get-property('axis2','REMOTE_ADDR')" regex="192\.168\.1.*"> | |
<then> | |
<send> | |
<endpoint> | |
<address uri="http://localhost:9000/services/SimpleStockQuoteService"/> | |
</endpoint> | |
</send> | |
</then> | |
<else> | |
<drop/> | |
</else> | |
</filter> | |
</inSequence> | |
<outSequence> | |
<send/> | |
</outSequence> | |
<faultSequence/> | |
</target> | |
</proxy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment