General information
Category:
The Mere Mortals .NET Framework
Hi Kevin,
I've been working with Del Despain on this and I think I have encountered a problem.
First, let me make sure I understand the process a control goes through to check its security level.
1) RegisterSecurity() is called in the OnPreRender for the control.
2) mmUIHelper.RegisterSecurity(this); gets called next.
3) Then you get a reference to the mmBaseWebPage of the parent form
4) Check if GetAccessLevel() should be called.
5) Using the reference to the SecurityManager on the parent form call GetAccessLevel().
I think the problem is that the mmBaseWebPage of the parent form returns a new mmSecurityManager(), instead of using the Factory so my subclass of mmSecurityManager gets used instead of the default MM one.
Shouldn’t the factory be used here to create the SecurityManager ?
Is this the approach you suggested in your earlier response to this thread, or did I not understand you ?
Thanks for your help!
I appreciate it.
-Douglas Hammon.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only