Ben,

Thanks for the reply.

>Just customise your AuthenticationDao's loadUserByUsername method, and 
>the Authentication token generated by the CAS packages should contain 
>your custom UserDetails.

Maybe I'm missing something but it appears that the only CAS and
AuthenticationDao integration point is in the DaoCasAuthoritiesPopulator
in "getAuthorities" method where it appears to only load the user in
order to get the authorities().

Maybe I should ask my question this way.  I am using CAS and a custom
UserDetails implementation.  I'm returning my custom UserDetails
implementation in my custom AuthenticationDao and overridden
loadUserByUsername method.  So, how can get at my custom UserDetails
implementation given the SecureContext?  Or is this possible?

Mike

---
[This E-mail scanned for viruses by Declude Virus]



-------------------------------------------------------
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