Re: Question about Authorization Manager




<snip> (Personally, I probably would have either thrown an
exception or forced it to always fail, but then I tend to be much less
forgiving in my design decisions than the nice folks at Microsoft...)


They do throw an exception if an empty task is passed for a check. Reference the code I posted earlier from the AzManProvider.cs file.


You didn't include the code that causes the exception you mentioned in your
second message to be thrown, but I'm guessing that it's a similar
authorization attempt for a task that contains no direct or nested
operations. If so, the exception is to be expected and is not a flaw in the
security block code.

The code is identical, the definition of the task is different. I could only post an LDIF of the task definition if you wanted. But I understand that you believe what I was describing was referring to an empty task, i.e. one not containing any operations or nested tasks that contain operations, and this is where we are not in sync with one another.

I apologize that I had jumped around within two different problems but they are related. Hopefully you can see in the diagram I posted above that the definition does indeed include two operations.

I have contacted MS regarding the issue and will be following it up with one of the block leads. I will post back to the thread any findings.

I agree with you on not altering a usage pattern, but I think we need to understand what each of us are describing before jumping to that conclusion.
.



Relevant Pages

  • Re: Validating file names
    ... running Novel, from your G: running Linux file system, from your H: running ... I am not saying one does not exist! ... file file and handle any exceptions that were thrown. ... If an exception is thrown then the specified ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Using an ActiveX ocx control on a Webform
    ... > download the ActiveX I can Automate the ActiveX object through the ... > Exception of type InvalidActiveXStateException was thrown. ... > tried using the item in the design mode of a regular .NET Windows ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Exception-Objekt freigeben
    ... When an exception is thrown, the exception object that is thrown is destroyed ... we have added the AcquireExceptionObject and ReleaseExceptionObject functions. ... then the thrown object is not destroyed by the RTL, but assumed to be in control ...
    (de.comp.lang.delphi.misc)
  • Re: exception handling in complex Python programs
    ... errors possibly thrown by open, or leave it to the caller? ... def do_something: ... have to couple the exception type with the function --- between file ... Python 3 and an IOError is thrown in the other three cases <bashes ...
    (comp.lang.python)
  • Re: how to change method return type from void to boolean
    ... Will the method return in case of exception thrown ... final OperationListener operationListener) { ... However my problem is that I need to determine what was wrong and show it to the user (in gui layer). ...
    (comp.lang.java.programmer)

Quantcast