Sample code for the blog post Getting started with OpenSAML 4, explaining
- Basics of OpenSAML
- How to add OpenSAML to your project
- Initializing OpenSAML
- Creating a SAML AuthnRequest message.
Clone the code, navigate to the folder for this sample and run:
mvn compile exec:java -Dexec.mainClass="com.samlsecurity.opensamlSamples.gettingStartedAuthnrequest.GenAuthnRequest"