Dear tomcat internals experts;

I'm taking a shot at prototyping a new method (yet untested) within org.apache.cataline.authenticator.AuthenticatorBase:

public void doLogin(HttpServletRequest request, HttpServletResponse response, Principal principal)
{
register(((CoyoteRequestFacade)request).request, ((CoyoteResponseFacade)response).response, principal, "FORM", null, null);
}

This is intended to allow a webapp (one with access to the server classes) to implicitly register a Principal with a http Session.

The above snippet doesn't compile because HttpRequest and HttpResponse are protected fields.. is there a another way to achieve this?

Thanks,
ken



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to