Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Manager Valve

Shapira, Yoav

2003-12-16



Howdy,

>Ahhhhhh........very nice......i was ripping my hair out, I used
>everything but a comma.....Thank you......

No problem. The documentation is really clear on this, so I'm surprised
you didn't see it, but that happens ;)

>Filter eh? Good idea.......which is more secure?

Same security. The Filter has the advantage that it's portable to any
servlet container (servlet spec 2.3 or later), Valve is tomcat-specific.
The filter is also more configurable, e.g. if you decide you do want
certain locations under the webapp's root to be accessible but others
not. But the Valve will perform slightly faster.

Yoav Shapira

>
>
>Russ
>
>
>
>-----Original Message-----
>From: Shapira, Yoav [mailto:Yoav.Shapira@(protected)]
>Sent: Monday, December 15, 2003 4:27 PM
>To: Tomcat Users List
>Subject: RE: Manager Valve
>
>
>Howdy,
>You can use comma-separated address in the allow list of the
>RemoteAddressValve.
>
>Of course you can also write your own Filter and map it to /* in the
>manager app's web.xml.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: Pitre, Russell [mailto:RPITRE@(protected)]
>>Sent: Monday, December 15, 2003 4:26 PM
>>To: Tomcat Users List
>>Subject: Manager Valve
>>
>>How can I restrict access to my manager app to only TWO ip
>addresses????
>>
>>When I go into the admin app to add a valve for an ip address other
>than
>>127.0.0.1 or add multiple ip addresses to a single valve....i get the
>>following error:
>>
>>==============================================================
>>Validation Errors:
>>
>>-Allow is invalid. Need to include the admin's IP address.
>>==============================================================
>>
>>Any help greatly appreciated.
>>
>>Russ
>>
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged. This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else. If you are not the(an)
>intended recipient, please immediately delete this e-mail from your
>computer system and notify the sender. Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.