Oct 14th, 2012, 07:52 AM
Does the SessionRegistry.getAllPrincipals().size()return the number of users?
Does the SessionRegistry.getAllPrincipals().size()+1 return the number of logged in users? I have read in many web pages that it returns the number of users but in my own web application, for example when there is only one user, it returns number 4!!! I don't know what does it mean?
Oct 15th, 2012, 08:17 AM
Please don't post the same thing twice...
For information on what a class does or its methods I suggest a read of the javadoc of that class.
Tags for this Thread