Menu

HttpOnly and form login

tamt15
2009-11-12
2013-04-26
  • tamt15

    tamt15 - 2009-11-12

    Does httpunit support form login with HttpOnly? I have HttpOnly in the Set-Cookie field. When I use httpunit to perform a form login, it fails with:

    com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Not Found

        at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:567)
    at com.meterware.httpunit.WebClient.updateClient(WebClient.java:445)
    at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:136)
    at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
    at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
    at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:141)
    at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:127)
    at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:118)
    at com.meterware.httpunit.WebClient.getResponse(WebClient.java:112)

    When I do NOT have HttpOnly set, then the same form login code works fine.

     
  • Anonymous

    Anonymous - 2009-12-01

    I am having issues with httponly myself.  I found bug 1672385.  It seems the developer had a fix, and yet it was rejected.  HttpUnit 1.7 shows that this is fixed in that release, but it is not.  Does anyone know what is going on with that bug?

     

Log in to post a comment.

Auth0 Logo