Hi,

Just wondering what the intended functionality of AuthenticationManager is for the authenticate method when an instance is passed an Authentication object that the manager is unable to process as it is simply the incorrect type (it does not support it). Should it be an java.lang.IllegalArgumentException or just an AuthenticationException?

(This is similar to the ProviderManager, which throws a ProviderNotFoundException)

And as a slight aside. Why does AuthenticationProvider not extend AuthenticationManager? Or just have one interface that covers both?


Regards,

Sean

--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to