Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK-75 Fixed random SSL issues for RSA authentication #118

Merged
merged 4 commits into from
Jun 1, 2020

Conversation

thibauult
Copy link
Member

@thibauult thibauult commented May 30, 2020

A customer faced some random troubles with custom truststore configuration. I discovered that this problem was caused by the multi-threaded calls when authenticating a service account with RSA.

This PR completely refactor the way that RSA authentication is performed by the SDK. I also introduced resilience4j as an experimental library for retries. It is also possible to configure the exponential backoff through config.json :

{
    "retry": {
        "maxAttempts": 10,
        "initialIntervalMillis": 500,
        "multiplier": 1.5
    }
}

@thibauult thibauult changed the title SDK-75 Fixed SSL issues for RSA authentication SDK-75 Fixed random SSL issues for RSA authentication May 31, 2020
@thibauult thibauult merged commit 86e5410 into finos:master Jun 1, 2020
@thibauult thibauult deleted the SDK-75_Fix-SSL-issues branch June 1, 2020 19:31
thibauult added a commit that referenced this pull request Jun 1, 2020
* SDK-75 Fixed SSL issues for RSA authentication

* SDK-75 Added doc for Retry configuration

* SDK-75 Added unit tests, simplified SymConfig class with Lombok usage

* SDK-75 Added more unit tests, better error management in SymBotRSAAuth when JWT needs to be refreshed

(cherry picked from commit 86e5410)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant