F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

praque_135655's avatar
praque_135655
Icon for Nimbostratus rankNimbostratus
Oct 30, 2013

Irule for Siteminder(SAML) Federated Initiated POC

Hi All, I need to achieve the Federated IDP initiated POC for the below usecase.

 

Not sure how to grap the saml token from html body. Please give me some sudo irule code for the following usecase to achieve the functionality.

 

Usecase:

1) Enter the url IDP url http://xmppt.airservices.eds.com:8080/iam/code.asp

 

2) Siteminder challenges the user( enter credentials)

 

3) Internally page invoked the SSO service and grap the saml token from html body and post it to the saml assertion consumer(http://usclspcim021.airservices.eds.com/affwebservices/public/saml2assertionconsumer).

 

http://xmppt.airservices.eds.com/affwebservices/public/saml2sso?SPID=service_provider&ProtocolBinding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST

 

 

4) Process the redirect (Siteminder issues a redirect) by grabing the Siteminder cookie (SMSESSION). Do not do the actual redirect. (grap the usclspcim021.airservices.eds.com cookie, replace the saml token with the SMCOOKIE)

 

5) Finally reach the landing page.

 

http://usclspcim021.airservices.eds.com/TestBasicAuth/finalpage.html

 

No RepliesBe the first to reply