Skip to content

1.3

Compare
Choose a tag to compare
@sk-natalja sk-natalja released this 18 Sep 13:08
· 41 commits to master since this release
3b6e756

[1.3] - 2020-09-17

Changed

  • Relying Party must keep the list of trusted server certificates and supply them to mid-rest-java-client
    • recommended way is to create a trust store (ehiter JKS or P12 format) and load trusted certificates into it
      (and update this file when new certificates are published and eventually replaced by Application Provider (SK)
    • withLiveEnvCertificates() and withDemoEnvCertificates() methods are now removed (certificates are not longer hard coded into client library)
  • To indicate that we have a trust store the following methods should be renamed (old methods are now marked as deprecated)
    • withSslKeyStore() -> withTrustStore()
    • withSslCertificates() -> withTrustedCertificates()
    • withSslContext() -> withTrustSslContext
  • MidAuthenticationResponseValidator now takes trusted certificates info as constructor parameter.

Added

  • handling 503 (Service Unavailable) exceptions

Removed

  • Removed handling "NOT_ACTIVE" certificate status as it is never return by MID API (API always returns NOT_MID_CLIENT instead)