On 17/05/2012 16:31, Sekar, Vasanth wrote:
> Hello-
> We have a custom form authenticator that runs on tomcat 4.0. Now, we
> have a need to migrate that into tomcat 6.0. There are compilation
> errors with the following.
> 
> import org.apache.catalina.HttpRequest;
> import org.apache.catalina.HttpResponse;
> 
> I looked at the tomcat 6.0 API and found that these classes are not
> there anymore. I believe these are replaced by 
> 
> import org.apache.catalina.connector.Request;
> import org.apache.catalina.connector.Response;

Correct.

> However, it still shows error on getSession and when I looked at the
> authenticatorbase API it is not present in 6.0
> associate(ssoId, getSession(request, true));
> 
> Could someone shed some light on how to go about this?

associate(ssoId, request.getSession(true));

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to