Doing a getUserPrincipal.getName() on http request had suprising results under the ContextHolderAwareRequestWrapper

Not sure if this is intended or misuse on my part. Catalina UserPrincipal behaved differently from acegi and returned the authenticated user's login name.

Acegi returns a toString on the UsernamePasswordAuthenticationToken

I see I could use getRemoteUser on the request to get the login name and that is what I want.

Principal interface does not seem clear on behavior. Just thought i'd point this out

Larry



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to