Karel Miarka wrote:

I have downloaded and built the current CVS version and run all my
application test agains it. Everything is OK except one little backward
incompatibility:
when my old code (custom AccessDecisionVoter or Tapestry Engine) needs to
get the username of logged in user it calls auth.getPrincipal().toString()
and it of course fails now. It is obvious and easy to fix, but maybe for the
sake of backward compatibility the net.sf.acegisecurity.providers.dao.User
should implement a method toString() returning the username.


I've added User.toString() to return the username. Given there was no toString() method, I don't expect this will cause problems for anyone.

Ben



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to