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

Sign IIds #824

Merged
merged 1 commit into from May 24, 2024
Merged

Sign IIds #824

merged 1 commit into from May 24, 2024

Conversation

fschinkel
Copy link
Member

@fschinkel fschinkel commented Dec 22, 2023

Add IIdCodecFlag to parametrize IdCodec-calls. The IdCodec will add a
signature to the unqualified ids during serialization and asserts the
signature's validity during deserialization.
Add annotation IdSignature which can be used to exclude IIds from
signature creation during serialization/deserialization in the IdCodec.
Pass ScoutDataObjectModuleContext to all IId-serializers/deserializers
and use it to compute the IIdCodecFlags for each call to IdCodec.
Add IIdSignatureDataObjectMapper/JacksonIdSignatureDataObjectMapper
that uses signatures during serializing/deserializing and use it in JSON
layer.
Add rest.jersey.server-module to inject reader/writer that uses
signatures and IIdCodecFlags to param converters.

340299, 373060

@fschinkel fschinkel self-assigned this Dec 22, 2023
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from c832f44 to 5c84cae Compare December 22, 2023 14:40
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 4 times, most recently from a355e70 to 651c3bc Compare January 9, 2024 09:37
Copy link
Member

@paolobazzi paolobazzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments for input

@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 8 times, most recently from 4028124 to 357deb6 Compare January 16, 2024 11:44
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from 357deb6 to 125ead0 Compare March 11, 2024 17:20
@fschinkel fschinkel changed the base branch from releases/24.1 to releases/24.2 March 11, 2024 17:24
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 4 times, most recently from 7c461c2 to 7039f3d Compare March 15, 2024 13:45
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 2 times, most recently from 8954829 to ffbedca Compare April 11, 2024 12:19
@fschinkel fschinkel changed the title WIP encrypt PrimaryKeys Encrypt primary keys Apr 11, 2024
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from ffbedca to bcc89cd Compare April 15, 2024 12:19
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 3 times, most recently from be8028c to 0168b77 Compare April 22, 2024 20:27
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 7 times, most recently from fb15478 to 7d4d411 Compare April 26, 2024 16:18
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from 7d4d411 to e9cbc30 Compare May 2, 2024 08:13
@fschinkel fschinkel marked this pull request as ready for review May 2, 2024 08:15
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from e9cbc30 to ba5b6e5 Compare May 2, 2024 08:59
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from ba5b6e5 to 3d73921 Compare May 8, 2024 09:44
@fschinkel fschinkel changed the title Encrypt primary keys Sign primary keys May 8, 2024
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from 3d73921 to 65e1a83 Compare May 8, 2024 11:43
@fschinkel fschinkel changed the title Sign primary keys Sign IIds May 8, 2024
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 2 times, most recently from d02ebdc to d92b939 Compare May 13, 2024 20:32
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch 2 times, most recently from a33dcf2 to 4fa1534 Compare May 21, 2024 14:59
Add IIdCodecFlag to parametrize IdCodec-calls. The IdCodec will add a
signature to the unqualified ids during serialization and asserts the
signature's validity during deserialization.
Add annotation IdSignature which can be used to exclude IIds from
signature creation during serialization/deserialization in the IdCodec.
Pass ScoutDataObjectModuleContext to all IId-serializers/deserializers
and use it to compute the IIdCodecFlags for each call to IdCodec.
Add IIdSignatureDataObjectMapper/JacksonIdSignatureDataObjectMapper
that uses signatures during serializing/deserializing and use it in JSON
layer.
Add rest.jersey.server-module to inject reader/writer that uses
signatures and IIdCodecFlags to param converters.
Add IdSignatureRestClientFilter to inject writer/reader that uses
signatures.

340299, 373060
@fschinkel fschinkel force-pushed the features/fschinkel/24.1/primary-keys branch from 091c835 to 5a6953d Compare May 24, 2024 17:21
@fschinkel fschinkel merged commit 45e8dee into releases/24.2 May 24, 2024
2 checks passed
@fschinkel fschinkel deleted the features/fschinkel/24.1/primary-keys branch May 24, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants