Implements #449 Make authentication details available in MovingMessage #450
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.
Implements #449: Stores the authentication details in the moving message so that it is available in e.g.
MessageDeliveryHandler
. See also theExampleFindUserByAuthLoginTest
.Would be great if you could pick this into the 1.6.x branch, since we can't switch to the new Jakarta namespace quite yet. I tried cherry picking this commit into the release-1.6.7 tag, there don't seem to be any merge conflicts.
the currently supported AUTH mechanisms LOGIN and AUTH. Other AUTH mechanisms may or may not have a username and/or password.
the authentication details in the SMTPState as well, but that feels a bit redundant.
amazonrootca1
in my system root key store (there is, e.g. adebian:amazon_root_ca_1.pem
certificate and when I change the test to use that, it passes)Pop3State
, but I didn't see any use for that where that info might be useful.