https://issues.apache.org/bugzilla/show_bug.cgi?id=48817

--- Comment #20 from Glen Taylor <gtay...@pgac.com> 2011-04-29 23:13:43 UTC ---
To be clear, please note that the example in #19 will NOT function correctly
due to the issues discussed in #18.  It was just to clarify the workaround I
was attempting.

Thanks for adding setValidator() back!  Though that still won't help those
using a  Tomcat Resource definition.  I don't feel qualified to proclaim a
"best of" solution, particularly with Validator already in "release".  Probably
the easiest solution would be to augment the internals of
setValidatorClassName() to allow a config suffix like JdbcInterceptor.  Maybe
an additional ConfigurableValidator interface to allow the params to be passed
and leave the implementation to the implementer (as with JdbcInterceptor)?

I'm happy to work up a proposed patch, but I'd prefer someone else weigh in on
the best of the many possible approaches.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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