-1

I would implement single signing with opensaml library, but don't know which parameter i will pass for log in. So can any body help for that?

Thanks in advance.

Tanuj Vaja
  • 35
  • 9

1 Answers1

0

The sign on starts with sending a XML message called a AutnRequest to the identity provider. SAML authentication is quite complex so I would suggest reading up on the process. The SAML technical overview is a good start.

When you are ready to start looking at OpenSAML my book, A Guide to OpenSAML, gives a good introduction and step by step on SAML and the OpenSAML library.

Also my blog has a couple of examples on this. https://blog.samlsecurity.com/categories/opensaml/ https://blog.samlsecurity.com/categories/saml/

Stefan Rasmusson
  • 5,445
  • 3
  • 21
  • 48
  • I complete almost all code but don't know how to pass SAMLRequest with username and password for authentication and I know about OpenSAML. Also I made up AuthnRequest for login. – Tanuj Vaja Aug 25 '14 at 04:45
  • You dont, what you do is, you redirect the user to the IDP with a AuthnRequest let the user write the username and password. – Stefan Rasmusson Aug 25 '14 at 09:03
  • @StefanRasmusson If the authorization is required to be carried out by SOAP say SP is SOAP API, in this case how we can authorize with IDP? – Mukesh Yadav Mar 09 '17 at 12:30
  • Then your SOAP API need to integrate with the IDP to validate the SAML assertion. How this is done is different depending on the solution you use. I suggest you create a new question with more detail and specify that it is about saml authentication for webservices. – Stefan Rasmusson Mar 09 '17 at 21:06