Search in sources :

Example 1 with CertificateDataTable

use of models.datatable.CertificateDataTable in project coprhd-controller by CoprHD.

the class Certificates method list.

@FlashException
public static void list() {
    CertificateDataTable dataTable = new CertificateDataTable();
    List<StringOption> options = Lists.newArrayList();
    options.add(new StringOption("true", MessagesUtils.get("common.yes")));
    options.add(new StringOption("false", MessagesUtils.get("common.no")));
    TruststoreSettings certificateSettings = null;
    certificateSettings = api().getTruststoreSettings();
    angularRenderArgs().putAll(ImmutableMap.of("options", options, "certificateSettings", certificateSettings));
    render(dataTable);
}
Also used : StringOption(util.StringOption) CertificateDataTable(models.datatable.CertificateDataTable) TruststoreSettings(com.emc.vipr.model.keystore.TruststoreSettings) FlashException(controllers.util.FlashException)

Aggregations

TruststoreSettings (com.emc.vipr.model.keystore.TruststoreSettings)1 FlashException (controllers.util.FlashException)1 CertificateDataTable (models.datatable.CertificateDataTable)1 StringOption (util.StringOption)1