It's strange that I can't use other property names such as fullName, firstName, lastName, email, etc. as declared in User class. Am I making any wrong? Thanks a lot. BTW, AppFuse 1.9.4 also includes acegi-jsf beside acegi from acegisecurity.org, right? There is no description in README.txt in lib folder but I saw a folder named acegi-jsf-1.1.2. I'm using tags from acegi-jsf to retrieve the info.
mraible wrote: > > You can pass it any of property names and it'll call the getter > methods on the user object. So you could use "fullName" and it'd call > getFullName(). > > Matt > > On 6/20/07, snew2k5 <[EMAIL PROTECTED]> wrote: >> >> Right now I only know to use <authz:authentication >> operation="username"/>. >> Are there any other valid values to pass to "operation" attribute? >> Thanks. >> >> >> mraible wrote: >> > >> > The short answer is no, there is no session object with the user >> > information in it. However, you should be able to use Acegi's tags to >> > get any of the user's information. >> > >> > Matt >> > >> > On 6/20/07, snew2k5 <[EMAIL PROTECTED]> wrote: >> >> >> >> Thanks for your reply. The link only shows how to print the username >> >> using >> >> Acegi tag. Is there any way to get such info using pure JSF EL? Is >> there >> >> any >> >> session scope object storing the info? Thanks in advance. >> >> >> >> >> >> mraible wrote: >> >> > >> >> > This should help: >> >> > >> >> > >> >> >> http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/ >> >> > >> >> > On 6/20/07, snew2k5 <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> >> >> >> Hi all, >> >> >> >> >> >> I'm using AppFuse 1.9.4 + JSF + facelets. I'm wondering if there is >> a >> >> way >> >> >> to >> >> >> check user has logged in or not and how to get user information >> from >> >> JSF >> >> >> pages. Thanks a lot. >> >> >> -- >> >> >> View this message in context: >> >> >> >> >> >> http://www.nabble.com/Getting-user-information-from-JSF-pages-tf3950856s2369.html#a11208964 >> >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> >> >> > >> >> > >> >> > -- >> >> > http://raibledesigns.com >> >> > >> >> > >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Getting-user-information-from-JSF-pages-tf3950856s2369.html#a11225703 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Getting-user-information-from-JSF-pages-tf3950856s2369.html#a11226278 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Getting-user-information-from-JSF-pages-tf3950856s2369.html#a11226470 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
