This content has been marked as final.
Show 3 replies
-
1. Re: Seam 3 Security and getRemoteUser
lightguard Feb 15, 2012 5:03 PM (in response to atdavie)Which server, version, and version of seam are you using?
-
2. Re: Seam 3 Security and getRemoteUser
atdavie Feb 16, 2012 3:03 AM (in response to lightguard)I am using Java 1.6.24 (there was an odd problem with a later version and weld), Jboss AS 6.1, Seam 3.1, and CDI/Weld 1.1. I also have Seam Faces and Seam Security installed - and ofc JSF 2.0
-
3. Re: Seam 3 Security and getRemoteUser
atdavie Jul 12, 2012 9:38 AM (in response to atdavie)It is in fact possible to access this variable the following ways:
JSF
#{facesContext.externalContext.request.remoteUser}
Authenticator
@Inject FacesContext fc;
user = fc.getExternalContext().getRemoteUser();