Hi,
In order to continue on studying SAML requests. Let's complete the code of the last post to add a signature to the AuthnRequest. To run the following code the only requisite is to generate a key pair using Java KeyTool : https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
Here there is the code :
It will generate the following request :
To be sure the request is valid, you can verify with https://www.samltool.com/validate_authn_req.php
No comments:
Post a Comment