Fix return type to allow further security config

This commit is contained in:
Derek Van Blerkom 2021-09-13 12:57:02 -04:00 committed by Marcus Hert Da Coregio
parent 3443eac829
commit 58d50888df
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ public final class Saml2LoginConfigurer<B extends HttpSecurityBuilder<B>>
* @param repo the repository of relying parties
* @return the {@link Saml2LoginConfigurer} for further configuration
*/
public Saml2LoginConfigurer relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) {
public Saml2LoginConfigurer<B> relyingPartyRegistrationRepository(RelyingPartyRegistrationRepository repo) {
this.relyingPartyRegistrationRepository = repo;
return this;
}