users@glassfish.java.net

Re: Two login pages and form based auth.

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 11 Sep 2008 12:45:43 -0700

No, that's not supported. form-login-page and form-error-page apply to
all url patterns protected by
FORM authentication. You can't configure different form-login-page and
form-error-page elements
for different url patterns.

Jan

On 09/11/08 07:26 AM, glassfish_at_javadesktop.org wrote:
> Hello,
>
> I've got a problem, i need to have two login pages in my application. I'm using FORM auth-method, is it possible to config that for /admin/* requests this auth-method used one login page, and for /guest/* another one? Please help!
> [Message sent by forum member 'eugenekaz' (eugenekaz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=298749
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>