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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.