All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
- Added two examples (and unit tests) that show how to use a proxy to acces the server
- Update versions of dependencies
- Update versions of dependencies
- Fixed a flaw that could potentially cause errors on high load
- 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.
- handling 503 (Service Unavailable) exceptions
- Removed handling "NOT_ACTIVE" certificate status as it is never return by MID API (API always returns NOT_MID_CLIENT instead)
- trusted_certificates renamed trusted_certificates_mid
- Different options for ensuring secure connection with SK mobile id backend
MidClient.MobileIdClientBuilder.withSslKeyStore(keyStore)
MidClient.MobileIdClientBuilder.withSslCertificates("Pem encoded cert 1", "Pem encoded cert 2")
MidClient.MobileIdClientBuilder.withSslContext(sslContext)
- Maven dependency check plugin for continuous security