IOException {
MCTProperties idMgrProp = new MCTProperties(prop);
// switch on the site
if (idMgrProp.getProperty("site", "").equalsIgnoreCase("mcc")) {
return new MCCIdentityManager(idMgrProp, refreshRunnable);
} else { // Use a general-purpose ID manager if no site is specified
return new DefaultIdentityManager(idMgrProp);
}
}