This project is read-only.

Security Integration

Topics: General, Writing modules
Mar 31, 2011 at 10:28 AM


I have a propietary application with its own security module, it manages users/roles/permissions.

I need to develop an orchard module that uses my security tables.

What Im thinking about is to Administer the security on my application, when I add/modify a user or role in my application there should be a trigger somewhere (database or code) that adds/modifies the user or role in orchard.

Is this approach recommended? If not, what would you recommend?


Thanks in advance

Apr 1, 2011 at 12:14 AM

You could implement your own implementations of the corresponding Orchard interfaces that use your proprietary data instead of the default Orchard data.

Apr 1, 2011 at 9:13 AM

Hi, thanks for the reply

Could you point me where are the interfaces documented? Does it also have interfaces for permisions or just authentication?



Apr 1, 2011 at 8:34 PM

There are APIs for authentication (IAuthenticationService) and permissions (IAuthorizationService, IAuthorizer). The code and tests are your best bet for understanding those at this time. You can also check out some of the custom auth modules that are available on the gallery.