Be able to handle multiple signing certs provided by AzureAD IdP#101
Be able to handle multiple signing certs provided by AzureAD IdP#101pitbulk merged 2 commits intoSAML-Toolkits:masterfrom
Conversation
|
Rather than support just fingerprints the desired solution will be to support multiple certs for sign and encrypt as implemented here. But had no time to implement it on java-saml yet. |
|
thanks @pitbulk, then I´ll provide the solution you described, OK? |
e8356e1 to
535d302
Compare
IdP na validação de assinatura
535d302 to
20778d8
Compare
37cb12f to
9caf8a6
Compare
9caf8a6 to
5021d69
Compare
|
Hi @pitbulk, could you review this implementation? |
|
The implementation seems to work, but I see you only covered Maybe we can extend it and use: and Or in the documentation explain that onelogin.saml2.idp.x509certMulti covers only certs for validate signature, if admin want to set a different value for encrypt, should be placed on the onelogin.saml2.idp.x509cert parameter. |
5021d69 to
0f53b87
Compare
|
Yes, because always will be used just one certificate for encrypting, so it was maintained the original x509cert for this. And for signing validation will be used both x509cert and x509certMulti. I fixed the documentation. |
|
Thanks for this contribution, I plan to implement an IdPMetadataParser like the one implemented on php-saml and then release a new version of java-saml. Best regards. |
|
@pitbulk, how could I help you? |
|
Basically the work to be done is to translate PHP code of the metadata parser in Java and adapt the IdP info injection, so will be able to inject into the settings builder |
|
OK, I'll work on this and send a PR |
|
great! |
|
I created #140, @anderson-sillos please review it. |
Allow to set multiple fingerprints comma separated in
onelogin.saml2.idp.certfingerprintconfig parameter.