diff --git a/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc b/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc index 29505f3024..4558b7a4ec 100644 --- a/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc +++ b/docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc @@ -143,10 +143,11 @@ spring: security: saml2: relyingparty: - okta: - identityprovider: - entity-id: ... - singlesignon.sign-request: false + registration: + okta: + assertingparty: + entity-id: ... + singlesignon.sign-request: false ---- Java:: diff --git a/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc b/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc index 6b42ee631f..a67244d05b 100644 --- a/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc +++ b/docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc @@ -125,7 +125,7 @@ spring: relyingparty: registration: adfs: - identityprovider: + assertingparty: entity-id: https://idp.example.com/issuer verification.credentials: - certificate-location: "classpath:idp.crt" @@ -886,16 +886,17 @@ spring: security: saml2: relyingparty: - okta: - signing.credentials: &relying-party-credentials - - private-key-location: classpath:rp.key - certificate-location: classpath:rp.crt - identityprovider: - entity-id: ... - azure: - signing.credentials: *relying-party-credentials - identityprovider: - entity-id: ... + registration: + okta: + signing.credentials: &relying-party-credentials + - private-key-location: classpath:rp.key + certificate-location: classpath:rp.crt + assertingparty: + entity-id: ... + azure: + signing.credentials: *relying-party-credentials + assertingparty: + entity-id: ... ---- Second, in a database, you need not replicate the model of `RelyingPartyRegistration`.