This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit 929fa1fd1447dc9fdc591288b83a5c280dc182f0
Author: Dan Haywood <[email protected]>
AuthorDate: Thu Nov 13 23:03:38 2025 +0000

    CAUSEWAY-3939: updates mignotes
---
 .../modules/ROOT/pages/2025/3.5.0/mignotes.adoc     | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git 
a/antora/components/relnotes/modules/ROOT/pages/2025/3.5.0/mignotes.adoc 
b/antora/components/relnotes/modules/ROOT/pages/2025/3.5.0/mignotes.adoc
index 0abd94ed8db..4d053896c05 100644
--- a/antora/components/relnotes/modules/ROOT/pages/2025/3.5.0/mignotes.adoc
+++ b/antora/components/relnotes/modules/ROOT/pages/2025/3.5.0/mignotes.adoc
@@ -3,4 +3,23 @@
 :Notice: Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license agreements. See the NOTICE file distributed with this work 
for additional information regarding copyright ownership. The ASF licenses this 
file to you under the Apache License, Version 2.0 (the "License"); you may not 
use this file except in compliance with the License. You may obtain a copy of 
the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by 
applicable law or ag [...]
 :page-partial:
 
-No specific migration notes have been recorded to date.
+== Encrypted Bookmarks for view models
+
+This release automatically encrypts the bookmarks for view models so that they 
are not susceptible to forgery or serialization attacks.
+
+The encyrption is performed using an instance of `HmacAuthority`.
+By default, the framework creates a random instance each time it is started, 
meaning that any bookmarks (for view models, not entities) become invalid if 
the application is restarted, using the following code:
+
+[source,java]
+----
+@Configuration
+class EnableHmacAuthority {
+    @Bean
+    public HmacAuthority hmacAuthority() {
+        return HmacAuthority.HmacSHA256.randomInstance();
+    }
+}
+----
+
+To override this behaviour (so that bookmarks are not invalidated), provide 
your own instance of this bean.
+It's up to you how you choose to keep the seed value secret.

Reply via email to