Xymon Mailing List Archive search

Using post to test user login

list Larry Barber
Wed, 21 Jun 2006 12:05:45 -0500
Message-Id: <user-ea919821a760@xymon.invalid>

I had a similar problem and ended up writing a short Python program to
supply the userid and password. I don't believe my boss would have a problem
if I GPL'd it and released it. Let me know if you're interested.

Thanks,
Larry Barber

On 6/21/06, Maschino, Shawn (GE Indust, Plastics) <user-518eb92a87d3@xymon.invalid>
wrote:
             Hi all – I ran into a challenge and was wondering if anyone
else had seen it and found a workaround.  I'd like to use the "post"
function of the HTTP test to verify a web page that does user authentication
for an application.  The way the login works is:


-          User enters login details on a web form

-          The user is sent to a "middle" page while authentication is
done

-          If authentication is successful they are redirected into the
web application, otherwise they redirect to an error page


When using the post check I can only get to that middle page, which
doesn't tell me if authentication was correct or not.  The reason for the
middle page is that this web site is using SSO authentication against an
external LDAP system.  We'd need to be able to get to the page that the
redirect pushes to.  Does anyone know if there is a way around this?  My
first impressions would be no, but I thought it wouldn't hurt (too much!) to ask.


Thanks!


Shawn