Add support for SAML2 relying party registration's decryption credentials

Closes gh-23705
This commit is contained in:
Stephane Nicoll
2020-10-26 15:29:28 +01:00
parent 10f887a5ad
commit 9ab3abb728
4 changed files with 82 additions and 10 deletions

View File

@@ -3866,21 +3866,29 @@ You can register multiple relying parties under the `spring.security.saml2.relyi
relyingparty:
registration:
my-relying-party1:
signing.credentials:
- private-key-location: "path-to-private-key"
certificate-location: "path-to-certificate"
signing:
credentials:
- private-key-location: "path-to-private-key"
certificate-location: "path-to-certificate"
decryption:
credentials:
- private-key-location: "path-to-private-key"
certificate-location: "path-to-certificate"
identityprovider:
verification:
credentials:
- certificate-location: "path-to-verification-cert"
entity-id: "remote-idp-entity-id1"
sso-url: "https://remoteidp1.sso.url"
my-relying-party2:
signing:
credentials:
- private-key-location: "path-to-private-key"
certificate-location: "path-to-certificate"
decryption:
credentials:
- private-key-location: "path-to-private-key"
certificate-location: "path-to-certificate"
identityprovider:
verification:
credentials: