Wesley Hall wrote:
Hi Ben,
Hi Wesley
If you'd like to submit patches which take advantage of the enhanced
AuthenticationException.getAuthentication() method, I'd be pleased to
apply them to CVS.
Best regards
Ben
What I have done (and this is a little more invasive, I know), is moved the
catch-rethrow up from the ProviderManager to the AuthenticationManager
rather than down to the indivual providers. To do this I have created an
'AbstractAuthenticationManager' class that is extended by ProviderManager.
The abstract class uses the template pattern to perform a central
'catch-rethrow' setting of the Authentication object. This resolves a
problem that was eating at me, which was that the setAuthentication was
public in AuthenticationException. Now that this work is done by the
AbstractAuthenticationManager the set method can be package scope.
Hi Wesley
I like it. I've committed it to CVS.
Thanks
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