glassfish_at_javadesktop.org wrote:
>Does anyone know how to add a valve to the domain.xml?
>
>>From Jean's Blog it states something like.
>
> <property name="valve_1" value="org.apache.catalina.valves.RemoteAddrValve"/>
>
>but what about the allow and deny, like in Tomcat
>
><!--
><Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.0.0.1"/>
>-->
>
>
In GlassFish, you use the [allow|deny]Remote[Address|Host]
virtual-server properties to configure this functionality, which
causes the same valves as in Tomcat to be added to the virtual
server's pipeline.
See
http://docs.sun.com/app/docs/doc/819-3674/6n5skvtlu?a=view#indexterm-691
for details.
>thanks it's friday
>
>
No kidding. :)
Jan
>-Fret
>[Message sent by forum member 'fret' (fret)]
>
>http://forums.java.net/jive/thread.jspa?messageID=224717
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>