Default terms and conditions to stirlingpdf.com (#2058)

This commit is contained in:
Anthony Stirling
2024-10-22 00:42:17 +01:00
committed by GitHub
parent e01ba93cf8
commit 04d5ae1912
6 changed files with 47 additions and 12 deletions

View File

@@ -203,7 +203,7 @@ public class SecurityConfiguration {
}
// Handle SAML
if (applicationProperties.getSecurity().isSaml2Activ()) {
if (applicationProperties.getSecurity().isSaml2Activ() && applicationProperties.getSystem().getEnableAlphaFunctionality()) {
http.authenticationProvider(samlAuthenticationProvider());
http.saml2Login(
saml2 ->