PDA

View Full Version : Using acegi to intercept methods using session object


YNight
Apr 26th, 2007, 10:10 AM
Hi to all,

I would like to secure my application using methodInterceptors for methods of my service. In the session, the user object is stored containing a property with its accessType. Evaluating this accessType, invocation of the method should abort or proceed. I was thinking about using acegi to do this. Is this the best way, or could it be done in a better way. I'd appreciate a good example..

Thanks in advance :)

karldmoore
Apr 26th, 2007, 01:03 PM
Posting on the Acegi forum might be a better idea, you're more likely to get an answer.

YNight
Apr 27th, 2007, 03:24 AM
How do I get access to my session in the requestcontext implementing this ?
Thanks already.