Scott Battaglia wrote:
Would it make sense to change the Object getPrincipal() method to
UserDetails getPrincipal() such that users can swap the providers
without having to worry whether the Authentication object from one
provider returns a different Principal from the other Authentication
objects (or should people always just call UserDetails)?
Hi Scott
I am inclined to leave it as-is, as detecting the type returned by
getPrincipal() is rather easy to do, and can be encapsulated into a
static utility method in any event. Also, as we're in the 1.0.0 RC
phase, changing a relatively central interface like Authentication
should be viewed with caution.
Cheers
Ben
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer