Of Rhino Security On Sun, Sep 27, 2009 at 1:49 PM, Mohammed Ali <mohammedali....@gmail.com>wrote:
> Activerecord version 1.0.3.0 > > > On Sun, Sep 27, 2009 at 2:42 PM, Ayende Rahien <aye...@ayende.com> wrote: > >> which version are you using? >> >> >> On Sun, Sep 27, 2009 at 1:35 PM, Mohammed Ali >> <mohammedali....@gmail.com>wrote: >> >>> I mapped but still also same result.Here is the details of activerecord >>> configuration.Is it correct ? >>> >>> <activerecord> >>> <config> >>> <add key="connection.driver_class" >>> value="NHibernate.Driver.SqlClientDriver" /> >>> <add key="dialect" >>> value="NHibernate.Dialect.MsSql2005Dialect" /> >>> <add key="connection.provider" >>> value="NHibernate.Connection.DriverConnectionProvider" /> >>> <add key="connection.connection_string" value="Data >>> Source=.\SQLExpress;Initial Catalog=IRS;Integrated Security=SSPI" /> >>> <add key="proxyfactory.factory_class" >>> value="NHibernate.ByteCode.Castle.ProxyFactoryFactory, >>> NHibernate.ByteCode.Castle" /> >>> <add key="show_sql" value="true"/> >>> <mapping assembly="DomainModel"/> >>> <mapping assembly="Rhino.Security"/> >>> </config> >>> </activerecord> >>> >>> >>> On Sun, Sep 27, 2009 at 12:52 PM, Ayende Rahien <aye...@ayende.com>wrote: >>> >>>> You need to add the Rhino.Security assembly to the mapping >>>> >>>> On Sun, Sep 27, 2009 at 7:09 AM, Mohammed Ali < >>>> mohammedali....@gmail.com> wrote: >>>> >>>>> >>>>> I tried to implement rhino security in my new project .When creating a >>>>> new usergroup , I am getting error 'No persister for: >>>>> Rhino.Security.Model.UsersGroup'.Here is the widsor.boo contents which >>>>> I used. >>>>> >>>>> >>>>> import System.Reflection >>>>> import DomainModel >>>>> import Castle.Components.Validator >>>>> import Rhino.Security; >>>>> import Rhino.Security.ActiveRecord; >>>>> >>>>> >>>>> # load AR models from assemblies >>>>> activeRecordAssemblies = ( >>>>> Assembly.Load("DomainModel"), >>>>> typeof(Users).Assembly, >>>>> ) >>>>> >>>>> >>>>> #facility RhinoTransactionFacility >>>>> >>>>> facility RhinoSecurityFacility: >>>>> securityTableStructure = SecurityTableStructure.Prefix >>>>> userType = Users >>>>> >>>>> component INHibernateInitializationAware, RegisterRhinoSecurityModels >>>>> >>>>> Component( "active_record_repository", IRepository, ARRepository) >>>>> >>>>> Component( "active_record_unit_of_work", >>>>> IUnitOfWorkFactory, >>>>> ActiveRecordUnitOfWorkFactory, >>>>> assemblies: activeRecordAssemblies) >>>>> >>>>> >>>>> Can anybody help ?. >>>>> >>>>> Thanks in advance.. >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to rhino-tools-dev@googlegroups.com To unsubscribe from this group, send email to rhino-tools-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---