[Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-08 Thread youngm
I'm using cas for authentication and I'd like to be able to take advantage of the new UserDetails inteface on the client side. Correct me if I'm wrong but if I were using the DaoAuthenticationProvider I'd simply overload the createSuccessAuthentication to return my custom Authentication object th

Re: [Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-08 Thread Ben Alex
Hi Mike [EMAIL PROTECTED] wrote: I'm using cas for authentication and I'd like to be able to take advantage of the new UserDetails inteface on the client side. Correct me if I'm wrong but if I were using the DaoAuthenticationProvider I'd simply overload the createSuccessAuthentication to return m

Re: [Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-12 Thread Mike Youngstrom
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 poi

Re: [Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-12 Thread Mike Youngstrom
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

Re: [Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-12 Thread Ben Alex
Mike Youngstrom wrote: 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 w

Re: [Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-13 Thread Mike Youngstrom
Ben, > Option one is preferable in the likely case most people would use the > DAO authentication provider package. In fact I've not heard of anyone > using Acegi Security with anything but the DAO authentication provider > package. Furthermore, the linkage is not very significant anyway, being >

Re: [Acegisecurity-developer] CasAuthenticationProvider taking advantage of custom Authentication object?

2004-07-14 Thread Ben Alex
Mike Youngstrom wrote: Option 1 would work fine for my case...but I could also survive with option 3 if you think option 1 would compromise the architecture in an unfavorable manner. :) Hi Mike Just checked into CVS HEAD option one. Please let me know if further changes are required, or if this