class SalesforceConfig {

    public Set<String> getOrgSet()
    {
        Set<String> tmp = new HashSet<>();
        if (allowedOrganizations == null) {
            allowedOrganizations = "";
        }
        String[] orgsSplit = allowedOrganizations.split("[,;]");
        for (String s : orgsSplit) {
            // The organizationId is always in Locale.US, regardless of the user's locale and language.
            tmp.add(s.toLowerCase(Locale.US).trim());
        }

        return tmp;
    }

}