I am looking for examples, tutorials, or documentation for implementing the org.apache.catalina.Realm ineterface. Can the Realm implementation point to a servlet? I need to authenticate using a cgi script (don't laugh) on a different web server on a different machine. The cgi will redirect its fail or success response to a URL. Currently, we have the cgi redirect the fail or success response to a JSP. Anyone have design suggestions when implementing a Realm for this architecture. I would look at the code in the CVS repository that currently implement the Realm interface, but I can't get the code as the proxy(which I don't administrate) will not allow CVS traffic(i.e. port not available).
Thank you for your time and consideration, Dan Doyle