There is no API available to webapps for this functionality.
To get around this gap, you'll probably need to look at writing your own
Valve. What and how - I am am unsure based on the description below.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
http://jakarta.apache.org/t
How do i programmatically authenticate to the servlet container usin Tomcat?
I was unable to find the appropriate API call to do so.
The reason i need this is because the web app that i have has a self
registration feature (like most other web apps). Currently without making
the API call, i first t