Skip to content

Commit bcf6417

Browse files
Update RelyingPartyRegistration javadoc
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 944bc84 commit bcf6417

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistration.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* String registrationId = "simplesamlphp";
4545
*
4646
* String relyingPartyEntityId = "{baseUrl}/saml2/service-provider-metadata/{registrationId}";
47-
* String assertionConsumerServiceLocation = "{baseUrl}/login/saml2/sso/{registrationId}";
47+
* String assertingConsumerServiceLocation = "{baseUrl}/login/saml2/sso/{registrationId}";
4848
* Saml2X509Credential relyingPartySigningCredential = ...;
4949
*
5050
* String assertingPartyEntityId = "https://simplesaml-for-spring-saml.apps.pcfone.io/saml2/idp/metadata.php";
@@ -56,10 +56,10 @@
5656
* .entityId(relyingPartyEntityId)
5757
* .assertionConsumerServiceLocation(assertingConsumerServiceLocation)
5858
* .signingX509Credentials((c) -&gt; c.add(relyingPartySigningCredential))
59-
* .assertingPartyDetails((details) -&gt; details
60-
* .entityId(assertingPartyEntityId));
61-
* .singleSignOnServiceLocation(singleSignOnServiceLocation))
62-
* .verifyingX509Credentials((c) -&gt; c.add(assertingPartyVerificationCredential))
59+
* .assertingPartyMetadata((details) -&gt; details
60+
* .entityId(assertingPartyEntityId)
61+
* .singleSignOnServiceLocation(singleSignOnServiceLocation)
62+
* .verificationX509Credentials((c) -&gt; c.add(assertingPartyVerificationCredential)))
6363
* .build();
6464
* </pre>
6565
*
@@ -995,7 +995,7 @@ public Builder singleLogoutServiceResponseLocation(String singleLogoutServiceRes
995995

996996
/**
997997
* Set the NameID format
998-
* @param nameIdFormat
998+
* @param nameIdFormat the given NameID format
999999
* @return the {@link Builder} for further configuration
10001000
* @since 5.7
10011001
*/

0 commit comments

Comments
 (0)