I'm setting up jboss in a cluster and am not sure how to configure it to restrict shutdown requests to be initiated from only the localhost and allow for JGroups to bind to the default server IP address. I've been told that for JGroups (JBoss Cache) to work correctly, the address given in the -b startup parameter cannot be the loopback address. So I put the hostname in as the parameter value. Once I did this, however, it seems I can shutdown JBoss from any machine that can open port 1099 on the JBoss host.
I'd like to restrict the ability to shutdown to only a process on the same host.