I am looking into using WCF built-in functionality to aid me in implementing an authorization service that sits on top of WCF. I already have tables such as:
User
, Role
, Permission
(I also have composite entities: UserRole
and RolePermission
).
The Permission
objects have custom properties like bool CanRead
, bool CanWrite
. The roles can contain many permissions.
How does this tie into WCF's existing framework for authorization? I'd like try not to reinvent the wheel as much as possible. How do I use my own permissions? I can see how the roles work from the .NET examples but not my own custom Permission
entities. Any hints to get me started in the right direction?