You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/06/03 09:14:40 UTC

[Bug 65339] UserDatabaseRealm does not rely on cached roles only

https://bz.apache.org/bugzilla/show_bug.cgi?id=65339

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 OS|                            |All
         Resolution|---                         |WONTFIX

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
It was agreed upon that this was the main point of the user database.
Ultimately, if the feature is dropped, we might as well drop that realm since
the memory one is the only implementation [it was never intended to be the
case, Craig wanted more but it didn't happen]. The main problem with dropping
it is it's in the default configuration, so it would cause a huge mess.

Note: If clustering or serialization comes into play, then the principal will
get disconnected from the database and it will become a regular static
GenericPrincipal. In an enhancement, I could add creative code to automatically
reconnect (the db info would need to be added to the principal which is easy to
do).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org