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

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


Thanks but i find this :

[CODE]
FacesContext context = FacesContext.getCurrentInstance();
Principal p = context.getExternalContext().getUserPrincipal();
String login = p.getName();
[/CODE]

Have Fun

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

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



More information about the jboss-user mailing list