Here I collect all code samples for OpenSAML from my books and my blog https://blog.samlsecurity.com/
These are the current samples in the collection
- Getting started with OpenSAML 4 and building AuthnRequest
- Complete demo of SP and IdP interacting with OpenSAML 4
- Sending and receiving messages using HTTP Redirect
- Sending and receiving messages using HTTP Post
- OpenSAML 4 signing and signature verification
- OpenSAML 4 prettyprinting OpenSAML objects
- Exception thrown when OpenSAML 4 not initialized
- Exception thrown when OpenSAML 3 not initialized
- Getting started with OpenSAML 3