-
Notifications
You must be signed in to change notification settings - Fork 864
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
Allow optional API methods with no authentication #3382
Merged
frankisawesome
merged 30 commits into
hyperledger:main
from
frankisawesome:feature/no-auth-api-methods
Feb 21, 2022
Merged
Allow optional API methods with no authentication #3382
frankisawesome
merged 30 commits into
hyperledger:main
from
frankisawesome:feature/no-auth-api-methods
Feb 21, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
jflo
reviewed
Feb 14, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious as to why we add an additional peer to wait for in the tests.
...a/org/hyperledger/besu/tests/acceptance/jsonrpc/JsonRpcHttpAuthenticationAcceptanceTest.java
Show resolved
Hide resolved
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/JsonRpcConfiguration.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
jflo
approved these changes
Feb 16, 2022
pinges
reviewed
Feb 16, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look at my comments
...g/hyperledger/besu/tests/acceptance/dsl/node/configuration/BesuNodeConfigurationBuilder.java
Outdated
Show resolved
Hide resolved
.../main/java/org/hyperledger/besu/ethereum/api/jsonrpc/authentication/AuthenticationUtils.java
Outdated
Show resolved
Hide resolved
siladu
reviewed
Feb 16, 2022
siladu
reviewed
Feb 16, 2022
siladu
reviewed
Feb 16, 2022
.../main/java/org/hyperledger/besu/ethereum/api/jsonrpc/authentication/AuthenticationUtils.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
frankisawesome
commented
Feb 17, 2022
...test/java/org/hyperledger/besu/ethereum/api/jsonrpc/websocket/WebSocketServiceLoginTest.java
Show resolved
Hide resolved
Signed-off-by: Frank Li <b439988l@gmail.com>
Signed-off-by: Frank Li <b439988l@gmail.com>
pinges
requested changes
Feb 18, 2022
Signed-off-by: Frank Li <b439988l@gmail.com>
…me/besu into feature/no-auth-api-methods merge master
pinges
approved these changes
Feb 18, 2022
Signed-off-by: Frank Li <b439988l@gmail.com>
…me/besu into feature/no-auth-api-methods merge master
Kudos, SonarCloud Quality Gate passed! |
jasonyic
pushed a commit
to jasonyic/besu
that referenced
this pull request
Feb 22, 2022
* some unit tests Signed-off-by: Frank Li <b439988l@gmail.com> * CLI parsing tests Signed-off-by: Frank Li <b439988l@gmail.com> * regression tests Signed-off-by: Frank Li <b439988l@gmail.com> * fix failing at Signed-off-by: Frank Li <b439988l@gmail.com> * refactor -> api to api methods Signed-off-by: Frank Li <b439988l@gmail.com> * functionality in Signed-off-by: Frank Li <b439988l@gmail.com> * fix override test Signed-off-by: Frank Li <b439988l@gmail.com> * fix duplicates test Signed-off-by: Frank Li <b439988l@gmail.com> * fix duplicates test Signed-off-by: Frank Li <b439988l@gmail.com> * fix failing test and remove unnecessary code Signed-off-by: Frank Li <b439988l@gmail.com> * add entry to changelog Signed-off-by: Frank Li <b439988l@gmail.com> * fix typo and NPE Signed-off-by: Frank Li <b439988l@gmail.com> * action on some items Signed-off-by: Frank Li <b439988l@gmail.com> * some refactoring + more tests + implement auth skip for web sockets Signed-off-by: Frank Li <b439988l@gmail.com> * refactor unused method Signed-off-by: Frank Li <b439988l@gmail.com> * fix test failing Signed-off-by: Frank Li <b439988l@gmail.com> * fix wrong variable used Signed-off-by: Frank Li <b439988l@gmail.com> Signed-off-by: Jason Yi <jasonhk.yi@consensys.net>
eum602
pushed a commit
to lacchain/besu
that referenced
this pull request
Nov 3, 2023
* some unit tests Signed-off-by: Frank Li <b439988l@gmail.com> * CLI parsing tests Signed-off-by: Frank Li <b439988l@gmail.com> * regression tests Signed-off-by: Frank Li <b439988l@gmail.com> * fix failing at Signed-off-by: Frank Li <b439988l@gmail.com> * refactor -> api to api methods Signed-off-by: Frank Li <b439988l@gmail.com> * functionality in Signed-off-by: Frank Li <b439988l@gmail.com> * fix override test Signed-off-by: Frank Li <b439988l@gmail.com> * fix duplicates test Signed-off-by: Frank Li <b439988l@gmail.com> * fix duplicates test Signed-off-by: Frank Li <b439988l@gmail.com> * fix failing test and remove unnecessary code Signed-off-by: Frank Li <b439988l@gmail.com> * add entry to changelog Signed-off-by: Frank Li <b439988l@gmail.com> * fix typo and NPE Signed-off-by: Frank Li <b439988l@gmail.com> * action on some items Signed-off-by: Frank Li <b439988l@gmail.com> * some refactoring + more tests + implement auth skip for web sockets Signed-off-by: Frank Li <b439988l@gmail.com> * refactor unused method Signed-off-by: Frank Li <b439988l@gmail.com> * fix test failing Signed-off-by: Frank Li <b439988l@gmail.com> * fix wrong variable used Signed-off-by: Frank Li <b439988l@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR description
Adds no auth api methods start up option for some api methods to require no authentication when RPC is configured with authentication
Main changes:
Fixed Issue(s)
fixes #2474
Changelog