https://bz.apache.org/bugzilla/show_bug.cgi?id=63195

--- Comment #2 from Michael Osipov <micha...@apache.org> ---
The snoop.jsp is a good start. Let's stash this for moment.

Tomcat is not supposed to verify, but the user. Properly configuring the valve
can be daunting for people. Even after they have configured it, they can't
verify it instantly. Namely, a sample JSP with the showed attributes. Look at
the Javadoc of the valve, it has before and after example tables. I'd expect a
user to run a servlet or a JSP to verify whether he/she configured the valve
properly. Lone the fact, that the snoop.jsp hasn't been mentioned as a checker
in RemoteIpValve we need to improve docs. Alternatively, such values could be
displayed in the manager app.

Is that a bit clearer?(In reply to Christopher Schultz from comment #1)
> What about webapps/examples/jsp/snp/snoop.jsp?
> 
> I don't even understand what this enhancement request is. Why is it up to
> Tomcat to verify that the user's configuration is "[working] properly"?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to