[Oorexx-devel] Scope of a security manager ?

2011-07-11 Thread Jean-Louis Faucher
I implement a (toy) profiler using a security manager to intercept messages sent to methods. Currently, I assign the security manager to the method I want to profile (i.e. monitor the call stack, the call count and the duration) A security manager can be assigned to a package, a method, a routine

Re: [Oorexx-devel] Scope of a security manager ?

2011-07-11 Thread Rick McGuire
Setting the security manager on a method or routine sets the manager for the entire package. This is the way it worked before the concept of a package was exposed in 4.0, so it works a little awkwardly. Had the package concept been there from the beginning, that would have been the only method

Re: [Oorexx-devel] Scope of a security manager ?

2011-07-11 Thread Jean-Louis Faucher
Thanks Rick 2011/7/11 Rick McGuire object.r...@gmail.com Setting the security manager on a method or routine sets the manager for the entire package. This is the way it worked before the concept of a package was exposed in 4.0, so it works a little awkwardly. Had the package concept been

Re: [Oorexx-devel] Scope of a security manager ?

2011-07-11 Thread Rick McGuire
The method checks are for calls FROM the package involved, not TO the target code. Rick On Mon, Jul 11, 2011 at 4:39 PM, Jean-Louis Faucher jfaucher...@gmail.com wrote: Thanks Rick 2011/7/11 Rick McGuire object.r...@gmail.com Setting the security manager on a method or routine sets the

Re: [Oorexx-devel] Scope of a security manager ?

2011-07-11 Thread Jean-Louis Faucher
ok, now it's clear... All the calls start from pipeStage~go, and this method is defined in pipe.rex. Thanks ! Jean-Louis -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a