I am beginner to the SAML v2.0 technology and I get the theory knowledge but I didn't find any examples on Google. Can anybody provide me with a step by step example for simple "SAML for v2.0".
Typical SSO with SAML is something called Web SSO Profile. There are many products supporting this on the market for example OpenAM, Shibboleth, OpenSAML and Oracle Identity Federation. The specific configuration is dependant on what product you choose to use. A working example of OpenSAML that I use in my book is availible here.
On a SAML level, the SP and IDP exchanges Metadata which contain configuration information on how the SP and IDP want to communicate.
SSO is then done in four steps:
If you want to code this yourself in Java, you can use OpenSAML. On my blog I have many examples on how to use it.
In my book, A Guide To OpenSAML, I write alot about this
EDIT New edition of the book is out, covering OpenSAML v3