Results 1 to 2 of 2

Thread: Does the SessionRegistry.getAllPrincipals().size()return the number of users?

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    Default 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. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,624

    Default

    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.
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •