Good evening Mark,
Thanks for confirming the first part of the request.

I did try your below suggestion already

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

The method associate(String, Session) in the type authenticatorbase is
not applicable for the arguments (String, HttpSession). The method
associate is expecting an org.apache.catalina.Session return where as
the connector Request is returning HttpSession.

Thanks again for your response and please advise.

Thanks!
Vasanth

-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Thursday, May 17, 2012 12:28 PM
To: Tomcat Users List
Subject: Re: Tomcat 4.0 & Tomcat 6.0 AuthenticatorBase

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




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

Reply via email to