Just figured out, in case anyone has same question, turns out the solution is really simple:
@Produces @Named("currentUser") @LoggedIn public User getCurrentUser() { ... return user; }
and in the JSF page, you can just use '#{currentUser.name}'