users@glassfish.java.net

Re: Does Glassfish support TCP wrappers?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 15 Apr 2009 11:14:08 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> I need to restrict the http-listener port to ony accept request from a certain ip address.

Yes:

http://docs.sun.com/app/docs/doc/819-3674/6n5skvu7b?l=en&a=view&q=denyRemoteHost

Configure the denyRemoteHost under the virtual-server element:

> Specifies a comma-separated list of regular expression patterns that the remote client's hostname (as returned by [java.net.]Socket.getInetAddress().getHostName()) is compared to. If this property is specified, the remote hostname must not match for this request to be accepted. If this property is not specified, request acceptance is governed solely by the allowRemoteHost property.

A+

-- Jeanfrancois

>
> Thanks in advance for any information.
>
> -Lloyd
> [Message sent by forum member 'williamlloydholt' (williamlloydholt)]
>
> http://forums.java.net/jive/thread.jspa?messageID=342270
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>