-
1. Re: authentication/welcome-file problem
pdhar Nov 13, 2002 1:25 AM (in response to vofo)Does this other Jboss have similiar default/conf/login-config.xml authentication setup as your previous one ?
-
2. Re: authentication/welcome-file problem
vofo Nov 14, 2002 5:56 AM (in response to vofo)Yes, the configurations are the same.
I tried to evaluate the problem. I have deployed my apllication to al local JBoss 3.0.0 and to a local JBoss 3.0.4.
If I put the welcome-file Index.jsp into the restricted area, authentication works with JBoss 3.0.0 and no login.jsp is displayed with version 3.0.4.
If I put Index.jsp in free area and point to the restricted area with forward in both cases the login.jsp is not displayed.
If I use sendRedirect instead of forward, it works
Is it true, that only sendredirect creates a real new requestURL?
So, my idea is, that there is a difference between the two versions in interpreting the welcome-file.
Maybe in version 3.0.4 the welcome-files are reached by forwards and in version 3.0.0 by sendRedirect?
Is this possible? Is this the correct behavior?
Am I completely wrong?
vofo -
3. Re: authentication/welcome-file problem
vofo Nov 14, 2002 6:15 AM (in response to vofo)second attempt to post this message, the last is somehow lost:
Yes, the configurations are the same.
I tried to evaluate the problem. I have deployed my apllication to al local JBoss 3.0.0 and to a local JBoss 3.0.4.
If I put the welcome-file Index.jsp into the restricted area, authentication works with JBoss 3.0.0 and no login.jsp is displayed with version 3.0.4.
If I put Index.jsp in free area and point to the restricted area with forward in both cases the login.jsp is not displayed.
If I use sendRedirect instead of forward, it works
Is it true, that only sendredirect creates a real new requestURL?
So, my idea is, that there is a difference between the two versions in interpreting the welcome-file.
Maybe in version 3.0.4 the welcome-files are reached by forwards and in version 3.0.0 by sendRedirect?
Is this possible? Is this the correct behavior?
Am I completely wrong?
vofo -
4. Re: authentication/welcome-file problem
vofo Nov 14, 2002 6:51 AM (in response to vofo)Yes, the configurations are the same.
I tried to evaluate the problem. I have deployed my apllication to al local JBoss 3.0.0 and to a local JBoss 3.0.4.
If I put the welcome-file Index.jsp into the restricted area, authentication works with JBoss 3.0.0 and no login.jsp is displayed with version 3.0.4.
If I put Index.jsp in free area and point to the restricted area with forward in both cases the login.jsp is not displayed.
If I use sendRedirect instead of forward, it works
Is it true, that only sendredirect creates a real new requestURL?
So, my idea is, that there is a difference between the two versions in interpreting the welcome-file.
Maybe in version 3.0.4 the welcome-files are reached by forwards and in version 3.0.0 by sendRedirect?
Is this possible? Is this the correct behavior?
Am I completely wrong?
vofo -
5. Re: authentication/welcome-file problem
vofo Nov 14, 2002 7:50 AM (in response to vofo)Yes, the configurations are the same.
I tried to evaluate the problem. I have deployed my apllication to al local JBoss 3.0.0 and to a local JBoss 3.0.4.
If I put the welcome-file Index.jsp into the restricted area, authentication works with JBoss 3.0.0 and no login.jsp is displayed with version 3.0.4.
If I put Index.jsp in free area and point to the restricted area with forward in both cases the login.jsp is not displayed.
If I use sendRedirect instead of forward, it works
Is it true, that only sendredirect creates a real new requestURL?
So, my idea is, that there is a difference between the two versions in interpreting the welcome-file.
Maybe in version 3.0.4 the welcome-files are reached by forwards and in version 3.0.0 by sendRedirect?
Is this possible? Is this the correct behavior?
Am I completely wrong?
vofo