users@glassfish.java.net

Re: glassfish and j_security_check

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 27 Feb 2007 17:31:39 -0800

glassfish_at_javadesktop.org wrote On 02/27/07 08:44 AM,:

>Admin Console is also facing the same problem. An issue is logged for this.
>https://glassfish.dev.java.net/issues/show_bug.cgi?id=1933
>We are waiting for the web container to provide a way to solve this.
>
>

Fix is coming.

Since there is no way for the container to determine any "original"
request URI to which to redirect the request in this scenario, it
could only redirect the request to

  req.getContextPath() + "/"

where "req" is the HttpServletRequest that carried the j_security_check,
and have the welcome page mechanism take it from there.


Jan