CAS with JSF

Paulo Cheque paulocheque at gmail.com
Tue Sep 5 19:14:40 EDT 2006


Hi, I am using CAS with JSF (MyFaces) but I am having problems getting
the username that has logged in.

MyCode:

FacesContext facesContext = FacesContext.getCurrentInstance();
HttpSession session = (HttpSession)
facesContext.getExternalContext().getSession(false);
session.getAttribute("edu.yale.its.tp.cas.cient.filter.user");

Last command always returns null.

Anyone know what I am doing wrong or any link where I can get help?

Thanks in advance
Paulo


More information about the cas mailing list