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
> information.so I need one User Object.not a username.
>
>
>
>     mayong


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to