Re: single sign-on authentication advice sought

"Richard Stein" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
This reference possesses significant HttpUnit discussion of Oracle SSO
dialog:  http://www.fm-berger.de/ora_webtest/ch06.php. Good code
fragments there -- seem to work fine for my Oracle environment. Didn't
realize just how complex the http handshake and redirection was to
navigate through Oracle SSO. Guess Oracle receives a royalty with each
redirection. 

--
Richard M. Stein
Healthe.com Test Engineering
Office: +65-64935015
Mobile: +65-93524723
FAX: +65-65331582

Disclaimer: This message is intended only for the use of the
addressee(s) named above and may contain privileged information. If you
are not the intended recipient of this message you are hereby notified
that you must not disseminate, copy or take any action based upon it.
Please delete and destroy the message from your computer. If you
received this message in error please notify the Healthe Group of
Companies immediately. Any views expressed in this message are those of
the individual sender, except where the sender specifically states them
to be the views of the Group.
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Richard Stein
Sent: Wednesday, April 18, 2007 5:08 PM
To: [email protected]
Subject: [Httpunit-develop] single sign-on authentication advice sought

I'm experiencing some difficulty attempting to apply HttpUnit with a
single sign-on authentication mechanism via an Oracle application. I
need some advice about assigning single sign-on realm values to complete
this dialog for home page access and login.  The HttpUnit javadoc is a
bit unclear in this area. Any advice or references are appreciated. Thx.

This following fragment encounters the AuthorizationRequiredException
when url == "http://website.com:7777/demo/faces/phr/ListPersons.jspx"
The exception text is:
.exception caught com.meterware.httpunit.AuthorizationRequiredException:
BASIC authentication required: realm="Single Sign-On"

                WebConversation wc = new WebConversation();
                try {
                        WebResponse response= wc.getResponse( url );
                }
                catch(AuthorizationRequiredException e) {
                        System.out.println("exception caught " + e);
                }
                wc.setAuthorization( loginid, passwdid );
                WebResponse response= wc.getResponse( url );

The setAuthorization method experiences the following exception after
AuthorizationRequiredException is caught: 

1)
testViralDialog(ViralScan)com.meterware.httpunit.HttpInternalErrorExcept
ion: Error on HTTP request: 500 Internal Error
[http://website.com:7777/pls/orasso/orasso.wwsso_app_admin.ls_login?Site
2pstoreToken=v1.4~EBFE2E7F~3B897800B399052D7A8E311467160CFCC4728FA9BF5E8
4C32A5D29133AF7C68A7DF21415BE08B85BE0E474111162D8C0CCBBE5005F51DE603853E
A794E71A198B573CA569D57EE6C7FF48672548E7B445C2620B00230A3710B1CE214E47E4
CAD70D27BD4CD87D5693137EFFC27B43453314CF08338514D4DA54CFE0FAEBA0582B0A16
B57CFC72A49747EC8BEC342708AE7C3CBDDE6ED12F71E6601852EFF87DAB571752AFBA27
0F77A4D992C04725CA7C0E8FD3D993BB8918807968DFE6D9827A864CBA6113F6727E0DD2
90109E82376AA1B96F599956060]

It is unclear to me what methods I must invoke to successfully execute
single sign-on authentication.
--
Richard M. Stein
Healthe.com Test Engineering
Office: +65-64935015
Mobile: +65-93524723
FAX: +65-65331582

Disclaimer: This message is intended only for the use of the
addressee(s) named above and may contain privileged information. If you
are not the intended recipient of this message you are hereby notified
that you must not disseminate, copy or take any action based upon it.
Please delete and destroy the message from your computer. If you
received this message in error please notify the Healthe Group of
Companies immediately. Any views expressed in this message are those of
the individual sender, except where the sender specifically states them
to be the views of the Group.
 

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.