RE: [saml-dev] Decision="Deny" with <Action>Read</Action> VERSUS Decision="Permit" with <Action>~Read</Action>

From
Barnhart, Michael A <>
Date
2006-03-31T11:50:53+00:00
ID
Thread
RE: [saml-dev] Decision="Deny" with <Action>Read</Action> VERSUS Decision="Permit" with <Action>~Read</Action>
Roger,

Definitely prefer Approach 1

It is clear you do not have read authorization.

 

For Approach 2, I have to ask what is
authorization of “what could be interpreted as “non-read”
operation mean.” What I am saying is that form would confuse most of the implementers
around me.

 

Michael
 A. Barnhart

Technical Data Integrity - System
Architect

817-763-3372



 

From: Costello, Roger
L. [mailto:] 

Sent: Thursday, March 30, 2006
9:11 AM

To: ;
Costello, Roger L.

Subject: [saml-dev]
Decision="Deny" with <Action>Read</Action> VERSUS
Decision="Permit" with <Action>~Read</Action>

 

Hi Folks,

 

As I understand it, the AuthzDecisionStatement is used to
indicate a decision (by an Identity Provider, IdP) regarding whether a subject
should be allowed to access a resource.

 

Suppose that the resource is “employee
salaries”.  Here’s the resource URL:

 

    Resource=”http://www.CarRentalInc.com/employees/salaries”

 

Suppose the decision is to deny read-access.  There seems
to be two approaches to express this:

 

 

Approach 1

 

<AuthzDecisionStatement Resource=”http://www.CarRentalInc.com/employees/salaries”

                                     
Decision=”Deny”>

      <Action
Namespace=”urn:oasis:names:tc:SAML:1.0:action:rwedc-negation”>Read</Action>

</AuthzDecisionStatement>

 

 

Approach 2

 

<AuthzDecisionStatement Resource=”http://www.CarRentalInc.com/employees/salaries”

                                    
 Decision=”Permit”>

      <Action
Namespace=”urn:oasis:names:tc:SAML:1.0:action:rwedc-negation”>~Read</Action>

</AuthzDecisionStatement>

 

 

In Approach 1 the decision is to Deny Read access to the
employees salaries.

 

In Approach 2 the decision is to Permit not Reading to the employees
salaries.

 

Questions:

 

 
Are both approaches stating the
     same thing? 

 
Which approach is preferred?
     

 

Thanks!  /Roger