public void setParameterPair(bool isHttps, bool isSaml) { if (isHttps) { if (isSaml) type = TRUST_SAML_HTTPS; else type = TRUST_HTTPS; } else { if (isSaml) type = TRUST_SAML; else type = TRUST_NONE; } }