From 58d50888df2e2fd4b13bc1d873647dd10caee83f Mon Sep 17 00:00:00 2001 From: Derek Van Blerkom Date: Mon, 13 Sep 2021 12:57:02 -0400 Subject: [PATCH] Fix return type to allow further security config --- .../annotation/web/configurers/saml2/Saml2LoginConfigurer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java index 1821690d3a..3b8220e80e 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java @@ -163,7 +163,7 @@ public final class Saml2LoginConfigurer> * @param repo the repository of relying parties * @return the {@link Saml2LoginConfigurer} for further configuration */ - public Saml2LoginConfigurer relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) { + public Saml2LoginConfigurer relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) { this.relyingPartyRegistrationRepository = repo; return this; }