relyingPartyRegistrations only enabled samle

This commit is contained in:
Ludy87
2024-10-19 17:20:24 +02:00
parent 1c1bea090d
commit 34ef4c7384

View File

@@ -374,6 +374,10 @@ public class SecurityConfiguration {
}
@Bean
@ConditionalOnProperty(
name = "security.saml2.enabled",
havingValue = "true",
matchIfMissing = false)
public RelyingPartyRegistrationRepository relyingPartyRegistrations() throws Exception {
SAML2 samlConf = applicationProperties.getSecurity().getSaml2();