From c55f1f8bea93317f246f61cec18cf36bf900d7fa 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 Issue gh-10245 --- .../web/configurers/saml2/Saml2LoginConfigurer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 05aec9cd21..9746f55c6b 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 @@ -1,5 +1,5 @@ /* - * Copyright 2002-2020 the original author or authors. + * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -160,7 +160,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; }