[jboss-user] [Security & JAAS/JBoss] - Know current login user in my bean

yakamax do-not-reply at jboss.com
Thu Sep 28 03:07:36 EDT 2006


Hello !

How can I know current user in my standard bean ?

I user :
    * JSF
    * <auth-method>FORM</auth-method>
    * JBoss 4.0.4GA

But I don't know how can i get login of the current user logged ...

I try this :
FacesContext fc = FacesContext.getCurrentInstance();
  | 			HttpSession session = (HttpSession) fc.getExternalContext().getSession(false);
  | etc...
But i can't find login after ...

Can you help me ? :)
thanks

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

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



More information about the jboss-user mailing list