Skip to content

Commit c55f1f8

Browse files
dvanblermarcusdacoregio
authored andcommitted
Fix return type to allow further security config
Issue gh-10245
1 parent 670cf99 commit c55f1f8

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

+2-2
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.
@@ -160,7 +160,7 @@ public Saml2LoginConfigurer<B> authenticationManager(AuthenticationManager authe
160160
* @param repo the repository of relying parties
161161
* @return the {@link Saml2LoginConfigurer} for further configuration
162162
*/
163-
public Saml2LoginConfigurer relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) {
163+
public Saml2LoginConfigurer<B> relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) {
164164
this.relyingPartyRegistrationRepository = repo;
165165
return this;
166166
}

0 commit comments

Comments
 (0)