protected SignatureValidationConfiguration getSignatureValidationConfiguration() {
        val config = DefaultSecurityConfigurationBootstrap.buildDefaultSignatureValidationConfiguration();
        val samlIdp = casProperties.getAuthn().getSamlIdp();

        if (this.overrideBlockedSignatureAlgorithms != null
            && !samlIdp.getAlgs().getOverrideBlockedSignatureSigningAlgorithms().isEmpty()) {
            config.setExcludedAlgorithms(this.overrideBlockedSignatureAlgorithms);
            config.setExcludeMerge(true);
        }

        if (this.overrideAllowedAlgorithms != null && !this.overrideAllowedAlgorithms.isEmpty()) {
            config.setIncludedAlgorithms(this.overrideAllowedAlgorithms);
            config.setIncludeMerge(true);
        }

        LOGGER.debug("Signature validation blocked algorithms: [{}]", config.getExcludedAlgorithms());
        LOGGER.debug("Signature validation allowed algorithms: [{}]", config.getIncludedAlgorithms());

        return config;
    }
Gets signature validation configuration.

@return the signature validation configuration
support/cas-server-support-saml-idp-web/src/main/java/org/apereo/cas/support/saml/web/idp/profile/builders/enc/validate/SamlObjectSignatureValidator.java