ProcessingContext jParams = null;
if (jData != null) {
jParams = jData.getProcessingContext();
}
MailSettingsValidationResult result = MailServiceImpl.validateSettings(cfg, true);
if (!result.isSuccess()) {
session.setAttribute(CLASS_NAME + "jahiaDisplayMessage",
getMessage(result.getMessageKey()));
} else {
storeSettings(cfg, jParams, request);
}
displaySettings( request, response, session );
} // end processSettings