You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the AS2 server is configured with a decryption key all received messages will require encryption, and only messages with valid encryption will be successfully processed. Similarly, when the AS2 server is configured with a message signature validation certificate chain all received messages will require a signature.
Only messages with valid encryption or signature configured as required will be successfully processed otherwise the server will return an 'insufficient-message-security' error disposition [1].
Additionally messages that cannot be decrypted will return a 'decryption-failed' error, and messages failing signature validation will return an 'authentication-failed' error [2].
I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)
Tracking
If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).
Apache Camel coding standards and style
I checked that each commit in the pull request has a meaningful subject line and body.
I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes
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
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.
Description
When the AS2 server is configured with a decryption key all received messages will require encryption, and only messages with valid encryption will be successfully processed. Similarly, when the AS2 server is configured with a message signature validation certificate chain all received messages will require a signature.
Only messages with valid encryption or signature configured as required will be successfully processed otherwise the server will return an 'insufficient-message-security' error disposition [1].
Additionally messages that cannot be decrypted will return a 'decryption-failed' error, and messages failing signature validation will return an 'authentication-failed' error [2].
[1] https://datatracker.ietf.org/doc/html/rfc4130#section-7.4.3
[2] https://datatracker.ietf.org/doc/html/rfc4130#section-7.5.4
Target
camel-3.x, whereas Camel 4 uses themainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally and I have committed all auto-generated changes