users@glassfish.java.net

Form based login anomalty

From: HAcland <hughacland_at_googlemail.com>
Date: Fri, 21 Mar 2008 06:31:06 -0700 (PDT)

Dear all,

After setting up form based login I have noticed that if a user goes
directly to the login page URL (ie. without first attempting to access a
restricted page) then after loging in he is then presented with the
file/directory list produced by glassfish.

Only when the user first tries to access a restricted page, is then
redirected to the login screen, does it then forward him to the requested
restricted page.

How can I overcome this so that if the user does go direct to the login page
he is then sent onwards to a "welcome to the restricted area" page?

Many thanks
Hugh
-- 
View this message in context: http://www.nabble.com/Form-based-login-anomalty-tp16197823p16197823.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.