Inspection of cache content

Description

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.

Environment

None

Activity

Show:
Greg Thomas
April 11, 2019, 12:01 PM

Yes. You're asked to confirm, then the entry is removed if you do. 

Guus der Kinderen
April 11, 2019, 11:19 AM

That's awesome! Deleting individual entries actually works?! 

Greg Thomas
April 11, 2019, 10:54 AM

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.

 

 

 

Daryl Herzmann
April 10, 2019, 4:09 PM

Are there cases of plain text passwords / sensitive data in the caches?  That's the only downside I could see to this.

Fixed

Assignee

Greg Thomas

Reporter

Guus der Kinderen