Chris,

I've tried it in a different way. In the Login page, I use javascript
to detect if the request comes with a scheme of HTTP or HTTPS and
based on that would redirect the request to use HTTPS. We use Tomcat
5.0.28 and JS 1.5 SSL Connector is enabled in the Tomcat
configuration.

Hema



On Tue, 18 Jan 2005 09:08:47 -0500, chris holt <[EMAIL PROTECTED]> wrote:
> I sent the following email with no response so I would like to ask my
> question in a different way to see if anybody has done what I'm trying
> to do.
> 
> Has anybody successfully setup Tomcat 5.0.28 with Jetspeed 1.5 and
> forced their users to use a secure connection to their portal?
> 
> Thanks,
> 
> Chris
> 
> -----Original Message-----
> From: chris holt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 11, 2005 10:57 AM
> To: Jetspeed Users List
> Subject: RE: Problem with Redirect when using SSL with Tomcat
> 
> I have been researching this more by debugging and it appears that the
> HttpServletRequest class that the TurbineRunDataService class uses to
> populate the ServerData class is returning the wrong port. This is
> feeling like a problem with Tomcat. Has anybody else hit a problem
> similar to this one.
> 
> Thanks,
> 
> Chris
> 
> -----Original Message-----
> From: chris holt [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 10, 2005 6:01 PM
> To: Jetspeed Users List
> Subject: Problem with Redirect when using SSL with Tomcat
> 
> I am using Tomcat 5.0.28 with Jetspeed 1.5 and I am having a problem
> using SSL. I have set the following in the web.xml file of jetspeed to
> force use of SSL when talking to portal.
> 
> <security-constraint>
>  <web-resource-collection>
>   <web-resource-name>Entire Application</web-resource-name>
>   <url-pattern>/*</url-pattern>
>  </web-resource-collection>
>  <user-data-constraint>
>   <description>Constrain the entire application to force use of
> HTTPS</description>
>   <transport-guarantee>CONFIDENTIAL</transport-guarantee>
>  </user-data-constraint>
> </security-constraint>
> 
> When the user goes to http://localhost:8080/jetspeed Tomcat correctly
> redirects the browser to https://localhost:8443/jetspeed. However, the
> anonymous user login page takes forever to come up, and when it does
> come up the skin isn't working.  There is no borders, tab controls, or
> anything.  I believe the problem has to do with the base tag being <base
> href="https://mroadster:8080/jetspeed/";>.  I can see why this would make
> things slow because of all the redirects but I don't understand why the
> stylesheet isn't working correctly.
> 
> However, if the user goes to https://localhost:8443/jetspeed/ everything
> works fine.  Is there a why to get the $clink.External command to store
> the redirected URL instead.
> 
> Thanks,
> 
> Chris
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hema Menon

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

Reply via email to