Wildfly 26.1.3 - Cache for Elytron Jaas Realm

123 views
Skip to first unread message

Elia Zaides

unread,
Apr 28, 2023, 9:19:21 AM4/28/23
to WildFly
Hi,

The current caching realm throws an exception when Jaas Realm is passed to it:

WFLYELY00030: Realm 'my-jaas-realm' does not support cache


which is coming from: https://github.com/wildfly-security-incubator/wildfly-core/blob/8212089cb7652b05bcdfa912963fce4ed208c4aa/elytron/src/main/java/org/wildfly/extension/elytron/CachingRealmDefinition.java#L153

Since JaasSecurityRealm does not implement CacheableSecurityRealm. 


What is the recommended way to have caching for JaasSecurityRealm ?

(It is something that was supported in previous security system)

Reply all
Reply to author
Forward
0 new messages