I havent worked with JSF, but how about this API:

http://java.sun.com/javaee/javaserverfaces/1.0/docs/api/javax/faces/context/ExternalContext.html#getRemoteUser()

So your code will look like:

FacesContext fc = FacesContext.getCurrentInstance();
  | String loggedInUsername = fc.getExternalContext().getRemoteUser();

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974769
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to