Skip to content

Commit 7977d14

Browse files
plugins: make default signature check mandatory (#9357)
This improves upon #9219, to make the signature checks mandatory by default but allows for users to relax the setting if they really must. Signed-off-by: Rohit Yadav <[email protected]>
1 parent f381763 commit 7977d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/saml/SAML2AuthManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public interface SAML2AuthManager extends PluggableAPIAuthenticator, PluggableSe
7070
ConfigKey<Integer> SAMLTimeout = new ConfigKey<Integer>("Advanced", Integer.class, "saml2.timeout", "1800",
7171
"SAML2 IDP Metadata refresh interval in seconds, minimum value is set to 300", true);
7272

73-
ConfigKey<Boolean> SAMLCheckSignature = new ConfigKey<Boolean>("Advanced", Boolean.class, "saml2.check.signature", "false",
73+
ConfigKey<Boolean> SAMLCheckSignature = new ConfigKey<Boolean>("Advanced", Boolean.class, "saml2.check.signature", "true",
7474
"Whether SAML2 signature must be checked, when enforced and when the SAML response does not have a signature would lead to login exception", true);
7575

7676
public SAMLProviderMetadata getSPMetadata();

0 commit comments

Comments
 (0)