-
Notifications
You must be signed in to change notification settings - Fork 167
add JsonRPCProtection plugin #2963
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
Open
christiangoerdes
wants to merge
45
commits into
master
Choose a base branch
from
json-rpc-protection
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
899be42
init
christiangoerdes 9a15d18
Implement JSON-RPC request validation with rules and batch support
christiangoerdes 69d37c7
Add unit tests for JsonRPCProtectionInterceptor
christiangoerdes 9b7da29
Refactor JSON-RPC validation logic into JsonRPCValidator for improved…
christiangoerdes 9222fc2
Add JSON-RPC parameter schema validation with unit tests
christiangoerdes 89e6590
Support JSON-RPC parameter schema validation with regex-based method …
christiangoerdes 8a57b48
Merge branch 'master' into json-rpc-protection
christiangoerdes 5a225af
Make `fromNode` method public in JSONRPCRequest, add logging to JsonR…
christiangoerdes 329ee81
Merge remote-tracking branch 'origin/json-rpc-protection' into json-r…
christiangoerdes 5bd32da
Add Javadoc comments for JSON-RPC protection classes with detailed de…
christiangoerdes 4fd835a
Support XML-style parameter mappings for JSON-RPC schema validation a…
christiangoerdes de22caa
Refactor JSON-RPC validation: rename `rules` to `methods` and improve…
predic8 c4b7d4d
Merge remote-tracking branch 'origin/json-rpc-protection' into json-r…
predic8 6825c32
Fix test failures: set batch rules before interceptor init
christiangoerdes 7d431c3
Filter child elements excluded from JSON schema in `JsonSchemaGenerat…
christiangoerdes c25259c
Refactor Allow/Deny rule hierarchy: move to util.allowdeny, rename me…
christiangoerdes fd8d1f7
Reject non-JSON content types in `JsonRPCProtectionInterceptor` with …
christiangoerdes 7ce7007
Merge branch 'master' into json-rpc-protection
christiangoerdes c1bab2b
Move Allow/Deny rules to `util.config.allowdeny` package and update a…
christiangoerdes f52a9a6
Add JSON-RPC protection tutorial with method filtering, parameter val…
christiangoerdes cd0bd99
Add tests for JSON-RPC protection tutorial covering method filtering,…
christiangoerdes fe0833b
Switch JSON-RPC `params` method matching from regex to exact names an…
christiangoerdes f7d963f
Add result schema validation to JSON-RPC protection and refactor sche…
christiangoerdes f223210
Add JSON-RPC result schema validation for `rpc.echo` with test update…
christiangoerdes 92bb547
disable response handling when result mappings are empty
christiangoerdes 0b4ed0c
Update JSON-RPC protection tutorial and tests to use consistent `id` …
christiangoerdes 2519939
Add schema validation support for JSON-RPC `params`, `response`, and …
christiangoerdes 79f985a
Remove deprecated JSON-RPC `params` and `result` schema handling, rep…
christiangoerdes f957fdf
Remove redundant body empty check in `JsonRPCProtectionInterceptor` s…
christiangoerdes 24db336
Add copyright headers to JSON-RPC interceptor classes
christiangoerdes 666c123
Merge branch 'master' into json-rpc-protection
christiangoerdes 7ba583f
Add inline schema support for JSON-RPC `error` validation, enhance do…
christiangoerdes 63ec1ea
Merge remote-tracking branch 'origin/json-rpc-protection' into json-r…
christiangoerdes f7d5cbd
Use inline schema in tutorial
christiangoerdes 7a1e798
Add response schema validation for JSON-RPC methods, update tests wit…
christiangoerdes edc038e
Rename JSON-RPC schema-related classes for clarity, refactor usage in…
christiangoerdes 941bb11
Refactor JSONPath segment processing logic, enhance error rendering w…
christiangoerdes 742b367
Improve documentation for JSONPath property encoding and `@MCOtherAtt…
christiangoerdes 0d3a074
Fix formatting in JSON-RPC-Protection tutorial configuration
christiangoerdes 8c8169e
Merge branch 'master' into json-rpc-protection
christiangoerdes c917dd1
Restructure JSON-RPC tutorial: adjust file hierarchy, refine document…
christiangoerdes 98d7223
Update JSON-RPC tutorials: restructure file hierarchy, rename configu…
christiangoerdes 37713aa
Add new tests for JSON-RPC allow/deny methods, batch validation, and …
christiangoerdes 6017a0e
Refactor JSON-RPC Allow/Deny and Batch Validation tutorial: simplify …
christiangoerdes d6373ab
Update JSON-RPC Allow/Deny and Batch Validation tutorial: add demo ba…
christiangoerdes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.