Hi,

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.

Thanks.

Regards,
Zdenek