*/
public TenantMgtConfiguration buildTenantMgtConfiguration(OMElement tenantMgtConfigElement)
throws UserStoreException {
String tenantManagerClass = null;
Map<String, String> tenantMgtProperties = null;
TenantMgtConfiguration tenantMgtConfiguration = new TenantMgtConfiguration();
tenantManagerClass = tenantMgtConfigElement.getAttributeValue(new QName(
UserCoreConstants.TenantMgtConfig.ATTRIBUTE_NAME_CLASS));
tenantMgtProperties = readChildPropertyElements(tenantMgtConfigElement);
tenantMgtConfiguration.setTenantManagerClass(tenantManagerClass);
tenantMgtConfiguration.setTenantStoreProperties(tenantMgtProperties);
return tenantMgtConfiguration;
}