0 Replies Latest reply on Nov 27, 2013 5:08 AM by lamjoeks

    How to restrict inbound access like JBoss 5.x (RemoteAddrValve)

    lamjoeks

      I used to modify server.xml to restrict inbound access by below two methods in JBoss 5.x.  However, I found it was total different in JBossAS7.

      Would anyone tell me how to do equivalent access control in AS7.

       

      <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.*,127.*" deny=”*” />

      <Valve className="org.apache.catalina.valves.RemoteHostValve" allow="cdis.chp.hksarg, sen.chp.hksarg"  deny=”*” />

       

       

      Thanks