From 621f0264990d36f30cee6149eb2e6a1f43b302ab Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 5 Aug 2020 09:41:54 +0200 Subject: [PATCH] Polish "Support configuration of entityId for a SAML Relying Party" See gh-22258 --- .../security/saml2/Saml2RelyingPartyProperties.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2RelyingPartyProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2RelyingPartyProperties.java index 1c22d53558..f521d8a992 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2RelyingPartyProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2RelyingPartyProperties.java @@ -51,13 +51,9 @@ public class Saml2RelyingPartyProperties { public static class Registration { /** - * Relying party's EntityID. - * - * This value may contain a number of placeholders. They are: baseUrl, - * registrationId, baseScheme, baseHost, and basePort. - * - * The default value is - * {baseUrl}/saml2/service-provider-metadata/{registrationId}. + * Relying party's entity ID template. Can generate its entity ID based on + * possible variables of "baseUrl", "registrationId", "baseScheme", "baseHost", + * and "basePort". */ private String relyingPartyEntityId = "{baseUrl}/saml2/service-provider-metadata/{registrationId}";