WebSphere Portal Server - Use the portal both in full HTTP or full HTTPS mode

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2006 > Use the portal both in full HTTP or full HTTPS mode





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Use the portal both in full HTTP or full HTTPS mode
Charles Le Gallic

2006-01-17, 6:06 pm

Hi,

I want to propose HTTPS only for my extranet users, and HTTP only for my intranet users, on a same server, with two different Web Servers.

The redirect.login.ssl = true in ConfigServices.properties allow to redirect to SSL on the login, but in all cases, not only for users already under HTTPS.

Does anyone know how to use SSL login only if users access the portal from the extranet, I mean with the HTTPS protocol ?

I am using the same Websphere Portal Server for both Intranet or Extranet.

The users inside the company log into the portal through the Lan, IHS Server installed on the WPS server.

The users from outside log into the portal with a server on the DMZ, with an IHS 2.0 server connected to the same portal on the LAN.

Regards,

Charles Le Gallic
SQLI Toulouse
Charles Le Gallic

2006-01-19, 2:57 am

I have finally find a way to solve this problem :

1) Put these value into the ConfigService.properties file
login.redirect = true
login.redirect.ssl = false
login.redirect.url = /wps/redirectLogin.jsp

logout.redirect = true
logout.redirect.ssl = false
logout.redirect.url = /wps/redirectLogout.jsp

2) Add two files (redirectLogin.jsp and redirectLogout.jsp) into the wps.war folder
These files only contains a redirect to /wps/myportal/ for login and /wps/portal/ for logout

3) modify the Login.jsp screen file and add ssl="<%= request.isSecure() %>" to the LoginUser command JSP tag, and do the same for the link to the log out in your theme file.

And it's done

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com