1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-23 15:21:25 +01:00

relyingPartyRegistrations only enabled samle

This commit is contained in:
Ludy87 2024-10-19 17:20:24 +02:00
parent 1c1bea090d
commit 34ef4c7384
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

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();