use of com.sun.identity.console.property.MultiServicesPropertyXMLBuilder in project OpenAM by OpenRock.
the class RMRealmModelImpl method getPropertyXML.
private void getPropertyXML(StringBuffer buff, boolean readonly) throws AMConsoleException {
try {
OrganizationConfigManager orgMgr = new OrganizationConfigManager(adminSSOToken, "/");
Set serviceSchemas = orgMgr.getServiceSchemas();
for (Iterator iter = serviceSchemas.iterator(); iter.hasNext(); ) {
MultiServicesPropertyXMLBuilder xmlBuilder = new MultiServicesPropertyXMLBuilder((ServiceSchema) iter.next(), this);
xmlBuilder.setAllAttributeReadOnly(readonly);
buff.append(xmlBuilder.getXML(false));
}
} catch (SSOException e) {
debug.error("RMRealmModelImpl.getPropertyXML", e);
} catch (SMSException e) {
debug.error("RMRealmModelImpl.getPropertyXML", e);
}
}
Aggregations