Information générale
Catégorie:
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement