Class SecuritySettingsPanel

    • Constructor Detail

      • SecuritySettingsPanel

        public SecuritySettingsPanel()
    • Method Detail

      • init

        public void init()
      • isUseSSL

        public boolean isUseSSL()
        Returns if SSL is used to secure the SMTP-connection (checkbox)
        Returns:
        true if SSL is used to secure the SMTP-connection
      • setUseSSL

        public void setUseSSL​(boolean useSSL)
        Sets SSL to be used to secure the SMTP-connection (checkbox)
        Parameters:
        useSSL - Use SSL to secure the connection
      • isUseStartTLS

        public boolean isUseStartTLS()
        Returns if StartTLS is used to secure the connection (checkbox)
        Returns:
        true if StartTLS is used to secure the connection
      • setUseStartTLS

        public void setUseStartTLS​(boolean useStartTLS)
        Sets StartTLS to be used to secure the SMTP-connection (checkbox)
        Parameters:
        useStartTLS - Use StartTLS to secure the connection
      • isEnforceStartTLS

        public boolean isEnforceStartTLS()
        Returns if StartTLS is enforced (normally, SMTP uses plain SMTP-connection as fallback if "250-STARTTLS" isn't sent from the mailserver) (checkbox)
        Returns:
        true if StartTLS is enforced
      • setEnforceStartTLS

        public void setEnforceStartTLS​(boolean enforceStartTLS)
        Enforces StartTLS to secure the SMTP-connection (checkbox)
        Parameters:
        enforceStartTLS - Enforce the use of StartTLS to secure the connection
        See Also:
        isEnforceStartTLS()
      • isUseLocalTrustStore

        public boolean isUseLocalTrustStore()
        Returns if local (pre-installed) truststore is used to avoid SSL-connection-exceptions (checkbox)
        Returns:
        true if a local truststore is used
      • setUseLocalTrustStore

        public void setUseLocalTrustStore​(boolean useLocalTrustStore)
        Set the use of a local (pre-installed) truststore to avoid SSL-connection-exceptions (checkbox)
        Parameters:
        useLocalTrustStore - Use local keystore
      • getTrustStoreToUse

        public String getTrustStoreToUse()
        Returns the path to the local (pre-installed) truststore to be used to avoid SSL-connection-exceptions
        Returns:
        Path to local truststore
      • setTrustStoreToUse

        public void setTrustStoreToUse​(String trustStoreToUse)
        Set the path to local (pre-installed) truststore to be used to avoid SSL-connection-exceptions
        Parameters:
        trustStoreToUse - Path to local truststore
      • setUseNoSecurity

        public void setUseNoSecurity​(boolean selected)
      • isTrustAllCerts

        public boolean isTrustAllCerts()
        Returns if all certificates are blindly trusted (using according SocketFactory) (checkbox)
        Returns:
        true if all certificates are blindly trusted
      • setTrustAllCerts

        public void setTrustAllCerts​(boolean trustAllCerts)
        Enforces JMeter to trust all certificates, no matter what CA is issuer (checkbox)
        Parameters:
        trustAllCerts - Trust all certificates
        See Also:
        isTrustAllCerts()
      • clear

        public void clear()
      • configure

        public void configure​(TestElement element)
      • modifyTestElement

        public void modifyTestElement​(TestElement te)