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
-~----------~----~----~----~------~----~------~--~---

Reply via email to