瀏覽代碼

Add missing registration property in YAML listing

Signed-off-by: Danilo Piazzalunga <danilopiazza@gmail.com>
Danilo Piazzalunga 3 月之前
父節點
當前提交
27319e3f9b

+ 5 - 4
docs/modules/ROOT/pages/servlet/saml2/login/authentication-requests.adoc

@@ -66,10 +66,11 @@ spring:
   security:
   security:
     saml2:
     saml2:
       relyingparty:
       relyingparty:
-        okta:
-          assertingparty:
-            entity-id: ...
-            singlesignon.sign-request: false
+        registration:
+          okta:
+            assertingparty:
+              entity-id: ...
+              singlesignon.sign-request: false
 ----
 ----
 
 
 Java::
 Java::

+ 11 - 10
docs/modules/ROOT/pages/servlet/saml2/login/overview.adoc

@@ -835,16 +835,17 @@ spring:
   security:
   security:
     saml2:
     saml2:
       relyingparty:
       relyingparty:
-        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: ...
+        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`.
 Second, in a database, you need not replicate the model of `RelyingPartyRegistration`.