Re: [appfuse-user] Retrieving Current User Object in MyAction Class

2007-08-23 Thread Imran Amajd
Thanks Mike! It worked for me. Thanks again. Mike Horwitz wrote: > > Other option is to use the ACEGI security context to retrieve the > authenticated user. See the method getCurrentUser() here: > http://fisheye4.cenqua.com/browse/appfuse/trunk/service/src/main/java/org/appfuse/service/User

Re: [appfuse-user] Retrieving Current User Object in MyAction Class

2007-08-23 Thread Michael Horwitz
Other option is to use the ACEGI security context to retrieve the authenticated user. See the method getCurrentUser() here: http://fisheye4.cenqua.com/browse/appfuse/trunk/service/src/main/java/org/appfuse/service/UserSecurityAdvice.java?r=2784 Mike. On 8/23/07, p7k <[EMAIL PROTECTED]> wrote: > >

Re: [appfuse-user] Retrieving Current User Object in MyAction Class

2007-08-23 Thread p7k
http://www.nabble.com/Getting-current-user%27s-id-during-tests-tf4190706s2369.html#a11917492 http://www.nabble.com/Getting-current-user%27s-id-during-tests-tf4190706s2369.html#a11917492 but, yeah ... getRequest().getRemoteUser() will get the user's name as a String, from there you could pull

[appfuse-user] Retrieving Current User Object in MyAction Class

2007-08-23 Thread Imran Amajd
Hello! how can i access the current User Object in my Action Class? I need to get user.emailAddress. Kindly reply me as soon as possible. Thanks in Advance :) -Imran Amjad. -- View this message in context: http://www.nabble.com/Retrieving-Current-User-Object-in-MyAction-Class-tf4316416s2369.