dissURL);
}
// Dispatch backend service URL request authenticating as
// necessary based on beSecurity configuration
ContentManagerParams params = new ContentManagerParams(
dissURL, null, beServiceCallUsername,
beServiceCallPassword);
params.setBypassBackend(true);
params.setContext(context);
dissemination = m_ecm.getExternalContent(params);
}
} else if (protocolType.equalsIgnoreCase("soap")) {
// FIXME!! future handling of soap bindings.
String message = "[DisseminationService] Protocol type: "
+ protocolType + "NOT yet implemented";
logger.error(message);
throw new DisseminationException(message);
} else if (protocolType.equalsIgnoreCase("file")) {
ContentManagerParams params = new ContentManagerParams(dissURL);
params.setContext(context);
dissemination = m_ecm.getExternalContent(params);
} else {
String message = "[DisseminationService] Protocol type: "
+ protocolType + "NOT supported.";
logger.error(message);