Interception Policy: How to judge the permission before update?

Jun 21, 2011 at 7:08 AM

Hi All,

I want to realize a function. What should I do if i want to judge the user permission before he update the database?

And I want to realize it with the interception policy feature.

I hope you could give me some ideas.

Thank you very much.

Best Regards.

 

David 

Jun 21, 2011 at 7:24 AM

Hi,

How many custom callhandler can I define?

I had define a "CustomExceptionLogHandler" that is used to log the exception information once the function throw out a exception.

Now I want to define a "CustomPermissionHandler" which is used to judge the permission.

If i could define the two handlers How to work with them?

 

Jun 21, 2011 at 8:34 AM

Hi,

My idea here is to extend the Authorization Handler and add an exception handling block inside it. So basically  you just need a single call handler.

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com