Nov 2nd, 2012, 10:37 AM
SessionRegistry#getAllPrincipals() what is this method for?
I did grep all the project and found that the method is used only in itest test classes.
I am going to implement distributed session registry and can't find out how to test in live system getAllPrincipals method.
Could I leave this method empty and return everytime empty collection? This would be best as collecting all keys in distributed application may be expensive operation.
Tags for this Thread