[jboss-user] [JBoss Portal] - Re: How do I restrict the same user log-in on the same time

sohil.shah@jboss.com do-not-reply at jboss.com
Mon Sep 11 10:26:51 EDT 2006


try


  | 
  |  request.getPrincipal() 
  | 
  | 


If the returned value is null, user is not logged in

If user is logged in you get the username of the user returned

Thanks
Sohil

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970760#3970760

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970760



More information about the jboss-user mailing list