Skip to content

Commit 9a1f04c

Browse files
dvanblermarcusdacoregio
authored andcommitted
Fix return type to allow further security config
Issue gh-10245
1 parent 8c1201a commit 9a1f04c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/saml2/Saml2LoginConfigurer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -155,7 +155,7 @@ public Saml2LoginConfigurer<B> authenticationManager(AuthenticationManager authe
155155
* @param repo the repository of relying parties
156156
* @return the {@link Saml2LoginConfigurer} for further configuration
157157
*/
158-
public Saml2LoginConfigurer relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) {
158+
public Saml2LoginConfigurer<B> relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) {
159159
this.relyingPartyRegistrationRepository = repo;
160160
return this;
161161
}

0 commit comments

Comments
 (0)