Builds Spark (minus the Install4j distributables) after every change to the code.

Build: #196 was successful Changes by wroot <wrooot@users.noreply.github.com>

Code commits

Spark (master)

  • wroot <wrooot@users.noreply.github.com>

    wroot <wrooot@users.noreply.github.com> 0c7b1e06cee1692684bdb9487d171849130e5257

    Merge pull request #494 from guusdk/SPARK-2070_automatically_relogin_after_cert_acceptance
    SPARK-2070: Login automatically after accepting server cert

  • Guus der Kinderen

    Guus der Kinderen 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163 m

    SPARK-2070: Login automatically after accepting server cert
    When an authentication attempt fails because of the server presenting a certificate that's not recognized, the end user gets asked to add the certificate.

    When the end user chooses to accept the certificate, another authentication attempt should be performed automatically. Up until this commit, that did not occur.

    To be able to act based on the choice of the user, the mechanism in which the dialog is shown had to be replaced. This removed some of the more elaborate functionality added by Pawel (that allowed for each intermediate certificate in the chain to be added individually). I've opted to simply add every certificate in the chain.

    • core/src/main/java/org/jivesoftware/LoginDialog.java (version 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163)
    • core/src/main/java/org/jivesoftware/sparkimpl/certificates/CertificateController.java (version 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163)
    • core/src/main/java/org/jivesoftware/sparkimpl/certificates/InBandCertificateChainDialog.java (version 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163)
    • core/src/main/java/org/jivesoftware/sparkimpl/certificates/SparkTrustManager.java (version 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163)
    • core/src/main/java/org/jivesoftware/sparkimpl/certificates/UnrecognizedServerCertificatePanel.java (version 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163)
    • core/src/main/resources/i18n/spark_i18n.properties (version 27745d9dc5f90fb4eb19f16f31f2d6e174e5f163)