private static void findFieldAndSetValue(final String fieldName, final Object value) {
        LOGGER.trace("Locating field name [{}]", fieldName);
        val field = ReflectionUtils.findField(OpenSAMLUtil.class, fieldName);
        if (field == null) {
            LOGGER.error("[{}] is undefined and cannot be located in OpenSAMLUtil", fieldName);
            return;
        }
        ReflectionUtils.makeAccessible(field);
        LOGGER.trace("Setting field name [{}]", fieldName);
        Unchecked.consumer(__ -> field.set(null, value)).accept(field);
    }
This is {@link CoreWsSecuritySecurityTokenServiceSamlConfiguration}.

@author Misagh Moayyed
@author Paul Spaude
@since 5.3.6
support/cas-server-support-ws-sts/src/main/java/org/apereo/cas/config/CoreWsSecuritySecurityTokenServiceSamlConfiguration.java