Menu

#1326 (3.0.7) Form based auth jetty issue

v3.0 Rabbit Hole
closed-out-of-date
nobody
JBossWeb (123)
7
2004-08-26
2003-05-13
James Ward
No

On the Jboss-user list, Phil said:

"Found an issue with FORM based authorisation when
using the bundled jetty. Basically I have a 'standard'
setup of form based auth, which works fine.. you visit
a secure page, it redirects you to the login form, you
login, and it takes you back to the origional page.
The problem is, is if you enter an invalid
username/password, it forgets the URL of the page
origionally requested, so when you retry with a correct
username/password it redirects
you to "/".

I have tried the same app with the Tomcat version of
3.0.7 and all works as expected, so I guess it is a
jetty issue?"

I am also having the same issue...
JBoss 3.0.7 on Linux & Solaris.

Discussion

  • James Ward

    James Ward - 2003-05-29
    • priority: 5 --> 7
     
  • Greg Wilkins

    Greg Wilkins - 2003-06-01

    Logged In: YES
    user_id=44062

    Fixed in Jetty CVS.... will be migrated to JBoss soon.

     
  • Wonne Keysers

    Wonne Keysers - 2003-07-02

    Logged In: YES
    user_id=505480

    The problem also exists in JBoss 3.2.1.
    Any ideas when this fix will be migrated?

     
  • Greg Wilkins

    Greg Wilkins - 2003-07-02

    Logged In: YES
    user_id=44062

    This is fixed in the latest versions of Jetty and I believe it
    has already been migrated to jboss 3.2 and 4.0.

    We have not planned on an update of the 3.0 series..

    However, you should be able to get the jar file from
    Jetty 4.2.10pre1 (4.2.10 out in the next few days)
    and try dropping it into the jbossweb.sar.

    If that does not work, you should be able to just move over
    the org.mortbay.http.FormAuthenticator class to fix the
    problem.

    Finally if that fails, you can build 3.0.7 from source and
    drop the source of FormAuthenticator into it.

     
  • Wonne Keysers

    Wonne Keysers - 2003-07-02

    Logged In: YES
    user_id=505480

    Ok, after including the separate
    http://prdownloads.sourceforge.net/jboss/jbossweb-jetty.sar?
    download it works correctly!

     
  • Adrian Brock

    Adrian Brock - 2004-08-26
    • status: open --> closed-out-of-date
     

Log in to post a comment.

MongoDB Logo MongoDB