public static RelaxedPropertyNames forCamelCase(final String name) {
        val result = new StringBuilder();
        for (var i = 0; i < name.length(); i++) {
            val c = name.charAt(i);
            result.append(Character.isUpperCase(c) && !result.isEmpty()
                          && result.charAt(result.length() - 1) != '-'
                ? "-" + Character.toLowerCase(c) : c);
        }
        return new RelaxedPropertyNames(result.toString());
    }
Return a relaxed name for the given source camelCase source name.

@param name the source name in camelCase
@return the relaxed names
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/support/RelaxedPropertyNames.java