File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
main/java/org/seedstack/seed/security Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11# Version 3.9.1 (2019-12-12)
22
3- * [ chg] ` AbstractTransactionManager ` is now scoped as package.
43* [ new] Support for programmatic login through ` SecuritySupport ` interface (no need for Shiro-specific code anymore).
54* [ chg] Obtaining principals by type now honors inheritance (instead of returning principals of the exact specified type).
65* [ chg] Principals are no longer required to be serializable.
6+ * [ chg] ` AbstractTransactionManager ` is now scoped as package.
7+ * [ fix] Security authentication and authorization caches are now disabled by default (avoiding to keep credentials indefinitely in memory).
78
89# Version 3.9.0 (2019-08-12)
910
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ public AuthenticationConfig setCredentialsMatcher(Class<? extends CredentialsMat
286286 @ Config ("cache" )
287287 public static class CacheConfig {
288288 @ SingleValue
289- private boolean enabled = true ;
289+ private boolean enabled = false ;
290290 private ItemCacheConfig authentication = new ItemCacheConfig ();
291291 private ItemCacheConfig authorization = new ItemCacheConfig ();
292292 private Class <? extends CacheManager > manager = MemoryConstrainedCacheManager .class ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ logging: INFO
1010security :
1111 realms : [ConfigurationRealm, X509CertificateRealm]
1212 cache :
13+ enabled : true
1314 manager : org.seedstack.seed.security.fixtures.TestCacheManager
1415 users :
1516 Obiwan :
You can’t perform that action at this time.
0 commit comments