Cool. I am able to register the factory method using the extension mechanism in Unity
thanks for your help. On Apr 5, 10:34 am, Ayende Rahien <[email protected]> wrote: > I am creating an ISubDependencyResolver, or using a Factory > > On Mon, Apr 5, 2010 at 5:28 PM, [email protected] > <[email protected]>wrote: > > > > > Ayende, > > > Thanks for the reply. > > > How are you passing the ISession using Windsor and Rhino Commons. > > > If I can look at that code, I should be able to convert it to Unity > > and NH burrow. > > > thanks > > > On 4 Apr, 04:33, Ayende Rahien <[email protected]> wrote: > > > It looks like you are using Unity, you need to register a way to provide > > a > > > session in Unity, I am not sure how this is done, but I think you can do > > > this using the extension mechanism. > > > > On Sat, Apr 3, 2010 at 3:58 AM, [email protected] <[email protected] > > >wrote: > > > > > Has anyone had any luck with implementing Rhino security with NH > > > > burrow. > > > > > I am using Microsoft Unity to resolve the rhino security interfaces. I > > > > get the following error > > > > > Resolution of the dependency failed, type = > > > > "Rhino.Security.Interfaces.IAuthorizationRepository", name = "". > > > > Exception message is: The current build operation (build key Build > > > > Key[Rhino.Security.Services.AuthorizationRepository, null]) failed: > > > > The parameter session could not be resolved when attempting to call > > > > constructor > > > > Rhino.Security.Services.AuthorizationRepository(NHibernate.ISession > > > > session). > > > > > How do I go about registering the ISession. I am using NH burrow for > > > > session management. > > > > > thanks > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Rhino Tools Dev" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<rhino-tools-dev%2Bunsubscribe@ > > > > googlegroups.com> > > <rhino-tools-dev%2Bunsubscribe@ googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/rhino-tools-dev?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Rhino Tools Dev" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<rhino-tools-dev%2Bunsubscribe@ > > googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/rhino-tools-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
