Feature Requests item #1176490, was opened at 2005-04-04 19:14
Message generated for change (Settings changed) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1176490&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HtmlUnit plugin
Group: None
Status: Open
Priority: 1
Private: No
Submitted By: Ben Eng (jetpen)
>Assigned to: Nobody/Anonymous (nobody)
Summary: form based authentication

Initial Comment:
Support form-based authorization when 
TestContext.setAuthorization is set, and the page has a 
form with j_username and j_password input fields and a 
default submit button.


----------------------------------------------------------------------

Comment By: Julien HENRY (henryju)
Date: 2006-11-20 17:35

Message:
Logged In: YES 
user_id=1235926
Originator: NO

I don't know how to deal with this kind of authentication properly... I
could check each page for j_username and j_password presence, but it will
introduce an overhead for those who don't care about form authentication.

----------------------------------------------------------------------

Comment By: Ben Eng (jetpen)
Date: 2006-11-20 17:10

Message:
Logged In: YES 
user_id=349359
Originator: YES

You recognize an authentication form by looking for input fields named
j_username and j_password inside of a form with action="j_security_check".


----------------------------------------------------------------------

Comment By: Julien HENRY (henryju)
Date: 2006-11-20 11:33

Message:
Logged In: YES 
user_id=1235926
Originator: NO

How can I detect on the client side that the response from the server is a
authentication form?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1176490&group_id=61302

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to