Inspection of cache content
To debug issues, it would be convenient if the Openfire admin console would allow me to view the content of a cache.
I'm thinking of a paginated page that iterates over all cache entries, displaying the `toString()` result of the keys and values.
Maybe some additional per-entry operations (delete, evict) or metadata (size, age) could be added, but those would be cherries on top.
Yes. You're asked to confirm, then the entry is removed if you do.
That's awesome! Deleting individual entries actually works?!
PR now implements this. Clicking on the cache name in the summary page takes the user through to a new cache details screen looking something like the following, usage is fairly self-explanatory.
I did note the comment about passwords; not entirely sure that's a genuine problem as I can't think of anywhere where that is done.
Are there cases of plain text passwords / sensitive data in the caches? That's the only downside I could see to this.