Migration from Jboss7 to Wildfly: allow access to servlet only from specific IPs
问题 I'm migrating an application from JBoss7 to Wildfly. On JBoss I was allowing the access to one of the servlet from specific IPs using the valve element in jboss-web.xml <?xml version="1.0" encoding="UTF-8"?> <jboss-web> <context-root>/test-war</context-root> <valve> <class-name>org.apache.catalina.valves.RemoteAddrValve</class-name> <param> <param-name>allow</param-name> <param-value>127\..*\..*\..*,0:0:0:0:0:0:0:1%0</param-value> </param> </valve> </jboss-web> I would like to reproduce this