Re: [Acegisecurity-developer] how to get online users list from acegi ???? (Ray Krueger)

2007-11-10 Thread Luke Taylor
Please use the support forums for user questions

http://forum.springframework.org/showthread.php?t=45907

Mohammad Shamsi wrote:
 Thanks Axel, this is exactly what i looking for.
 
 sorry for bothering you, but another question :
 
 SessionRegistry is an interface, in it have an implementation
 SessionRegistryImpl, this calss is an ApplicationListener,
 
 I don't know how to access to the instantiated object of this class
 from my code.
 this object was instantiated during application startup.
 
 


-- 
 Luke Taylor.  Monkey Machine Ltd.
 PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] how to get online users list from acegi ???? (Ray Krueger)

2007-11-08 Thread Axel Mendoza Pupo
String users [] = (String[])SessionRegistry.getAllPrincipals();
List online;
for(int i=0;iusers.length;i++)
if(getAllSessions(users[i],
Boolean.FALSE)!=null)
online.add(users[i]);

this is how I get online users

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer