Question

2
Replies
460
Views
liul4636 Member since 2018 3 posts
Accenture
Posted: January 24, 2019
Last activity: March 20, 2019
Closed

Restrict Rest Service to specific IP range

Hi,

I want to Restrict Rest Service specific IP range.The below settings were tried in /prweb/web.xml but it's not working.

<filter>
<filter-name>RemoteAddrFilter</filter-name>
<filter-class>org.apache.catalina.filters.RemoteAddrFilter</filter-class>
<init-param>
<param-name>deny</param-name>
<param-value>10\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>RemoteAddrFilter</filter-name>
<url-pattern>/prweb/PRRestService/<proprietary information>/V1/getResponse
</url-pattern>
</filter-mapping>

Pega Platform Data Integration
Moderation Team has archived post
Share this page LinkedIn