SSO Help

Your Source for Help with Single-Sign-On Solutions

Vipin

Siteminder HTTP Client Authentication

Hi All,

Can anybody share some ideas on how can i do a Non Browser Authentication with a HTML Login Page Protected Applications. I have tried by Checking the Box "Use non-browser clients" in the Auth Scheme but that doesnt work.

Also i want to implement this code in Java and WSDL (SOAP)

Regards,
Vipin

Reply to This

Replies to This Discussion

You should be able to develop your HTTP client in Java and then submit the basic credentials (username/password) in the HTTP authorization header. And yes, you'll have to enable non-browser client support in the auth scheme in the Siteminder admin UI.

Reply to This

Also if you are using a non browser client to push basic authentication credentials, you will also have to set the RequireCookies Setting to No in the ACO.

In a browser world, this this set to Yes, when SM sends the 401 telling the browser to prompt for basic credentials it also sends a SMCHALLENGE=Yes cookie. when the basic creds come back it expects this cookie to be present.

in your space, where the basic creds are coming directly from an app, there would likely be no smchallenge cookie so the auth scheme would nrrd to know to process the authorization anyways.

Reply to This

Thanks, i was able to implement this

Reply to This

That's great to hear. Good luck.

Reply to This

Hi Vipin,
Could you let me know how you made this work? we have Siteminder on IIS and when users send a request via browser, they are presented with the login.fcc form. However we also access resources with requests sent from vbscript, vba etc. How do i send my credentials via such applications to Siteminder?

Reply to This

Hi Rishit,

Sorry for the late reply. Here is the code in VBSCRIPT. I have written the code in Java, Let me know if you need that also

Dim XMLHTTP As Object
Set XMLHTTP = CreateObject("MSXML2.serverXMLHttp")
XMLHTTP.Open “GET”, strUrl, False, strUsr, strPwd
XMLHTTP.setRequestHeader "Cookie", "SMCHALLENGE=YES"
XMLHTTP.send

This is from this site

https://apps.skyworthttg.com/forums/viewtopic.php?f=6&t=203

Reply to This

Hi Vipin,

Could you please give the code in Java for the 'Non Browser SiteMinder Authentication with a HTML Login Page' ?

Thank you

Reply to This

HI Vipin,
Can you please post the complete java code for 'Non Browser SiteMinder Authentication' using httpclient?

Thanks

Reply to This

RSS

© 2010   Created by Core Blox.

Badges  |  Report an Issue  |  Terms of Service