I'm trying to retrieve the current userid from Jboss portal after login to Portal. How to do that?
Did saw some hints from the Portal Reference Manual on 220.127.116.11
But i don't have the "request" class because shield by myfaces?
- Jboss 4.0.4 +
- Jboss Portal 2.4
- Jboss seam 1.0.1GA
Found the answer ... just new the "UserPrincipal" class and call the getName method. "UserPrincipal" is defined in seam (see reference manual).