Problems restricting Host addresses for incoming connections in JBoss using RemoteHostValve

Solution Verified - Updated -

Issue

  • We have activated the restriction for incoming connections in JBoss like 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 the IP of 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content