Problems restricting Host addresses for incoming connections in JBoss using RemoteHostValve
Issue
- We have activated the restriction for incoming connections in
JBosslike is indicated in instructions here, but when we include the FQDN of the machines that we want to allow access, doesn´t work. When we include theIPof the machines, works perfectly. Below is the Configuration, is there another configuration that we have to complete?
[standalone@user-vip1:9920 valve=HostFilter] ls -l
ATTRIBUTE VALUE TYPE
class-name org.apache.catalina.valves.RemoteHostValve STRING
enabled true BOOLEAN
module org.jboss.as.web STRING
param {"allow" => "hostname.mydomain.com"} OBJECT
[standalone@user-vip1:9920 valve=HostFilter]
Environment
- Red Hat JBoss Enterprise Application Platform 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.