Well, when working with my pages, I would want access to my actual UserDetail type object. It would appear that while using the DaoAuthenticationProvider, the only thing in the Context is the UsernamePasswordAuthenticationToken. How would I get to the user's info that I looked up?
Patrick ----- Original Message ----- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Fri, 16 Jul 2004 14:48:42 +0000 Subject: Re: [Acegisecurity-developer] Questions about implementing my own Authentication Object To: [EMAIL PROTECTED] Without knowing all the details of your implementation, it sounds like you could still use the DaoAuthenticationProvider. Providing it a custom AuthenticationDao that deals with retrieving UserDetails objects from your own user management system. -------------- Original message -------------- > This is probably going to be a FAQ (but I didn't find anything on it > in the Gmane archive), but I am trying to figure out how to get the > them to use my own Authentication implementation? We already have > objects that define our users and essentially their roles. But I > haven't found the hook point in Acegi to tell it to use this class. > > I guess I could make my own implementation of an > AuthenticationProvider. But even then, how do I know what's going to > call it's supports() method with the class I want? Maybe I'm just not > grasping where to actually start with my integration. I want to use as > much of the existing Acegi code without having to implement a lot of > my own code. Otherwise, what's the point? > > Do I just need to start "higher" in the chain and subclass or am I > missing some configuration options? > > Thanks, > Patrick > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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