All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.main.admingui.console-corba-plugin.7.0.2.source-code.sslPrepare-copy.inc Maven / Gradle / Ivy





setPageSessionAttribute(key="edit" value="#{true}" )
gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}.json" valueMap="#{pageSession.valueMap}");
gf.createEntityResponseOutput(endpoint="#{pageSession.selfUrl}" attrs="#{pageSession.valueMap}" throwException="false" result="#{pageSession.resultMap}");
if ("#{pageSession.resultMap.data.exit_code}=FAILURE") {
    setPageSessionAttribute(key="edit" value="#{false}" )
}
if (#{pageSession.edit}){
    gf.getEntityAttrs(endpoint="#{pageSession.selfUrl}.json" valueMap="#{pageSession.valueMap}");
    convertToDifferentCiphersGroup(ciphers="#{pageSession.valueMap['ssl3TlsCiphers']}"
        CommonCiphersList="#{pageSession.selectedCommon}"
        EphemeralCiphersList="#{pageSession.selectedEphemeral}"
        OtherCiphersList="#{pageSession.selectedOther}"
        EccCiphersList="#{pageSession.selectedEcc}")

}
if (! #{pageSession.edit}){
    
    createMap(result="#{pageSession.valueMap}");
    mapPut(map="#{pageSession.valueMap}" key="ssl3Enabled" value="true");
    mapPut(map="#{pageSession.valueMap}" key="tlsEnabled" value="true");
    mapPut(map="#{pageSession.valueMap}" key="trustMaxCertLength" value="5");

    convertToDifferentCiphersGroup(ciphers="#{pageSession.valueMap['ssl3TlsCiphers']}"
        CommonCiphersList="#{pageSession.selectedCommon}"
        EphemeralCiphersList="#{pageSession.selectedEphemeral}"
        OtherCiphersList="#{pageSession.selectedOther}"
        EccCiphersList="#{pageSession.selectedEcc}")
}

//set the following for including buttons.inc
setPageSessionAttribute(key="convertToFalseList" value={"ssl3Enabled" "tlsEnabled" "clientAuthEnabled" })
setPageSessionAttribute(key="skipAttrsList", value={"sslInactivityTimeout"});
setPageSessionAttribute(key="showDefaultButton" value="#{false}" )
setPageSessionAttribute(key="hasPropertySheet" value="#{true}" )
setPageSessionAttribute(key="hasPropertyTable" value="#{false}" )




© 2015 - 2025 Weber Informatics LLC | Privacy Policy