I haven't tried, but you can attempt the following: Rhino Security seems to configure itself using the INHibernateInitializationAware interface from Rhino.Commons.NHibernate. So, when you have created the NHibernate Configuration object (but before you create the session factory), call the "Configured" method on any instances of INHibernateInitializationAware services in the container. Then, after you create the session factory, call the "Initialized" method. That should allow Rhino Security to do it's thing. You will still need to register the RhinoSecurityFacility.
Let me know if this makes sense. -tyler burd On Thu, Aug 27, 2009 at 10:35 AM, DannyT <[email protected]> wrote: > > Apologies if this isn't the right place for this couldn't find > anywhere more appropriate. > > Is it possible to use Rhino.Security without using an > hibernate.cfg.xml file? > We're using the castle integration facility which contains the > configuration so we don't have the cfg.xml file. > > cheers, > Dan > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
