users@glassfish.java.net

RE: RE: Issues in jsp login form.

From: Manfred Riem <mriem_at_manorrock.org>
Date: Wed, 13 Aug 2008 08:46:32 -0600

Hi Alex,

There are known issue with doing that. But if you would be willing
to blog about doing it correctly so people don't hit any problems
I would say please do so ;).

Manfred

-----Original Message-----
From: Alex Sherwin [mailto:alex.sherwin_at_acadiasoft.com]
Sent: Wednesday, August 13, 2008 8:44 AM
To: users_at_glassfish.dev.java.net
Subject: RE: RE: Issues in jsp login form.

Not to hijack this thread, but you certainly can use JSF for a login page. I do it with Core JSF web apps, as well as with Woodstock and ICEFaces web apps.

It lends pretty well to Woodstock since it utilizes security on /faces/* by default, you can get your login.jsp to be rendered by the faces Servlet and still be able to access the /theme/* Servlet to display the nice webuijsf: components on your login page.


Alex Sherwin
alex.sherwin_at_acadiasoft.com


-----Original Message-----
From: Manfred Riem [mailto:mriem_at_manorrock.org]
Sent: Wednesday, August 13, 2008 10:04 AM
To: users_at_glassfish.dev.java.net
Subject: RE: RE: Issues in jsp login form.

First of all you can't use a Java Server Faces page as your login
page; second of all you are doing the redirect to the login page,
which will not work.

Where are your settings for the pages you are trying to protect
in your web.xml?

-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Wednesday, August 13, 2008 8:17 AM
To: users_at_glassfish.dev.java.net
Subject: Re: RE: Issues in jsp login form.

Sorry the code is

<%
        response.sendRedirect("protected/login.jsf");
%>
[Message sent by forum member 'kieth_jane' (kieth_jane)]

http://forums.java.net/jive/thread.jspa?messageID=293042

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net