Hello all,
I'm using JBoss-eap-6.2.3 and I would like to create a new http connector. For the moment, I added the following configuraion to standalone.xml file :
<thread-factory name="http-custom-connector-factory" thread-name-pattern="CUSTOM-%t" priority="9" group-name="custom-thread-pool"/>
<unbounded-queue-thread-pool name="custom-thread-pool">
<thread-factory name="http-custom-connector-factory" />
<max-threads count="30" />
<keepalive-time time="20" unit="seconds" />
</unbounded-queue-thread-pool>
...
<connector name="custom-http" protocol="HTTP/1.1" scheme="http" socket-binding="custom-http" executor="custom-thread-pool" />
...
<socket-binding name="custom-http" interface="ALL" port="8888" />
It's working fine but, I would like to only accept any defined machines.
I tried to create a new interface with inet-address:
<interface name="DEFAULT">
<inet-address value="myclient01" />
<inet-address value="myclient02" />
</interface>
But it doesnt work and I did'nt undertand the example I found to do this.
Any suggestions?
Moreover, my system administrator asked me if it's possible to restrict the urls accepted by the connector. I think I have to add an apache on my machine and configure a worker to do this.
Have you got another idea?
Thanks in advance,
Nicolas