Announcement Announcement Module
Collapse
No announcement yet.
Does the SessionRegistry.getAllPrincipals().size()return the number of users? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?
    please help

  • #2
    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.

    Comment

    Working...
    X