Try this:
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
User user = (User) auth.getPrincipal();
Matt
On 10/15/07, Ma, Yong <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Dear Matt
>
>
>
> Thank you for you answer my question.but I want to get login user all
> informatio
Dear Matt
Thank you for you answer my question.but I want to get login user
all information.so I need one User Object.not a username.
mayong
request.getRemoteUser() should get the username for you.
Matt
On 10/14/07, Ma, Yong <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Dear all:
>
>
>
> I used appfuse project 1.9.4. I don't know how to get login user
> info in BaseAction,after login .
>
>
>
> Mayong
>
>
--
http://raibledesi
Dear all:
I used appfuse project 1.9.4. I don't know how to get login user
info in BaseAction,after login .
Mayong