portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gudiyella, Pavan" <PGudiye...@Tribune.com>
Subject RE: Redirect after authentication
Date Fri, 03 Nov 2006 02:54:13 GMT
I did a workaround by coding something like this in /login/login.jsp


if (request.getParameter("referrerPath") != null) {
      	%>
      	<input type="hidden" name="<%=LoginConstants.DESTINATION%>"
value="<%=request.getParameter("referrerPath")%>" >
      	<%
      	}

But it redirects regardless of success or failure.  I shouldn't redirect if
authentication fails.
I was looking into LoginErrorServlet.  Will look into
LoginProxyServlet/LoginRedirectorServlet too.  
But not sure, what else would break, if I (could) change these.  These are
in jetspeed-portal-api.jar
 

Regards.



-----Original Message-----
From: Ruben Fragoso [mailto:ruben.fragoso@tap.pt]
Sent: Thursday, November 02, 2006 11:20 AM
To: 'Jetspeed Developers List'
Subject: RE: Redirect after authentication


Check the source code of the LoginProxyServlet.java, it can probably answer
your questions :)

regards

-----Original Message-----
From: Gudiyella, Pavan [mailto:PGudiyella@Tribune.com] 
Sent: terça-feira, 31 de Outubro de 2006 21:01
To: 'Jetspeed Developers List'
Subject: Redirect after authentication


Hi All,

How do I redirect a user to some external resource, after authenticating
through jetspeed2 LoginPortlet?

Please suggest.

Thanks
Pavan

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message