Use the portal both in full HTTP or full HTTPS mode
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Use the portal both in full HTTP or full HTTPS mode




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-17-06 11:06 PM

Hi,

I want to propose HTTPS only for my extranet users, and HTTP only for my int
ranet 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 HTT
PS.

Does anyone know how to use SSL login only if users access the portal from t
he 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





[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-06 07: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/po
rtal/ 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 ou
t in your theme file.

And it's done






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:24 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register