public void setConfigLocations(String locations) {
        if (!StringUtils.hasText(locations)) {
            throw new IllegalArgumentException("Null/empty locations argument not allowed.");
        }
        String[] arr = StringUtils.split(locations);
        setConfigLocations(arr);
    }
Abstract implementation for {@code WebEnvironment}s that can be initialized via resource paths (config files).

@since 1.2
web/src/main/java/org/apache/shiro/web/env/ResourceBasedWebEnvironment.java