[Acegisecurity-developer] Re: Acegi Security - new release 0.8.1

2005-03-23 Thread Rob Moore
Hi, Ben, I have no problem with it, but how do I get User from SecureContext? Thanks, Rob Ben Alex wrote: Hi Rob I did consider this, but I felt users wanting a username would have been using User.getUsername(). I personally use .toString() for debugging, and find the extra details helpful. Any c

[Acegisecurity-developer] Re: Acegi Security - new release 0.8.1

2005-03-23 Thread Rob Moore
I think a bug has been introduced in the 0.8.1 enhancement to User.toString(). Previously, calling SecureContext.getAuthentication().getName() returned the usernname. Now it seems to return the result of User.toString(). Here's an example of what I'm seeing on the getName() call: [EMAIL PROTECT