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

Fix: Removing the self-invoking call from KeyPairAuthenticator.SetSpecializedAuthenticatorData method #1084

Conversation

anat0li
Copy link

@anat0li anat0li commented Jan 25, 2025

The SetSpecializedAuthenticatorData method override, implemented in KeyPairAuthenticator, has a self-invoking call in the second line of the method's body. This results in the connectors hanging up anytime when KeyPairAuthenticator is configured to be used for authentication.

A new method, SetSecondaryAuthenticationData, was introduced in the previous commitment "SNOW-715504: MFA token cache support (#988)" by Juan Martinez Ramires. This method is probably meant to be called from SetSpecializedAuthenticatorData implementation instead of using a self-invoking call by mistake. I suggest changing the called method name from SetSpecializedAuthenticatorData to SetSecondaryAuthenticationData.

@anat0li anat0li requested a review from a team as a code owner January 25, 2025 02:46
Copy link

github-actions bot commented Jan 25, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@anat0li
Copy link
Author

anat0li commented Jan 25, 2025

I have read the CLA Document and I hereby sign the CLA

@anat0li
Copy link
Author

anat0li commented Jan 25, 2025

A new method, SetSecondaryAuthenticationData, was introduced in the previous commitment "SNOW-715504: MFA token cache support (#988)" by Juan Martinez Ramires. This method is probably meant to be called from SetSpecializedAuthenticatorData implementation instead of using a self-invoking call by mistake. I suggest changing the called method name from SetSpecializedAuthenticatorData to SetSecondaryAuthenticationData.

@sfc-gh-knozderko
Copy link
Collaborator

I'm closing this PR because this issue was fixed in this PR: #1086

Thank you for your contribution.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants