@Override
    public void setConfigLocations(String[] configLocations) {
        if (configLocations.length == 2) {
            otherConfigLocation = configLocations[1];
            super.setConfigLocations(configLocations[0]);
        } else {
            super.setConfigLocations(configLocations);
        }
    }
Ability to merge two configuration files, exactly two
support/jakarta-ee/src/main/java/org/apache/shiro/ee/listeners/IniEnvironment.java