Re: Jar for download from the page (same as prettyfaces).

Splash Forums Rewrite Users Jar for download from the page (same as prettyfaces). Re: Jar for download from the page (same as prettyfaces).

#22379

Tony Herstell
Participant

Sadly the Injected Identity is always empty.

Is there anything unusual about this?

@SessionScoped
// Leverage EJB to get Transactional Support
@Stateful
// EL Can can find me...
@Named
public class Identity extends BaseController {

private Logger logger = Logger.getLogger(Identity.class.getName());

// Access to the persistence store so we can read from the DB.
@PersistenceContext
private EntityManager em;

private String loginEmail;
private String loginPassword;

private static final long UNSET_ID = -1l;
private long loggedInUserId = UNSET_ID;
private String firstName;
private String surName;
private Set<ApplicationRole> roles;

public Identity() {
}