zkay15 wrote:
I am creating a service wrapper around netsqlazman to be consumded by a WPF application. I am using NetSqlAzman to implmement role based authorization on client side.
I would like to understand the best approach to implement the following;
1. Cache all permissions for the users on the service side.
2. When the client facade makes a service call, it will make a dip into the client side cache and retrieve all authorized operations the user is allowed to perform.
Thanks.
2. When the client facade makes a service call, it will make a dip into the ***client*** side cache and retrieve all authorized operations the user is allowed to perform.
Do you mean this instead?
2. When the client facade makes a service call, it will make a dip into the ***server*** side cache and retrieve all authorized operations the user is allowed to perform.
You're #1 statement ... doesn't make sense to me....with your original #2 statement.