Patrick Burleson wrote:

Well, when working with my pages, I would want access to my actual
UserDetail type object. It would appear that while using the
DaoAuthenticationProvider, the only thing in the Context is the
UsernamePasswordAuthenticationToken. How would I get to the user's
info that I looked up?

Patrick




UserDetails myDetails = (UserDetails) ((SecureContext) ContextHolder.getContext()).getAuthentication().getPrincipal();

Ben



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to