atom feed11 messages in org.oasis-open.lists.xacml[xacml] [xacml-users] REST Profile - ...
FromSent OnAttachments
Hal LockhartMay 16, 2012 2:25 pm 
remo...@emc.comMay 16, 2012 3:01 pm 
Hal LockhartMay 17, 2012 7:41 am 
Danny ThorpeMay 17, 2012 11:18 am 
remo...@emc.comMay 17, 2012 2:09 pm 
Danny ThorpeMay 17, 2012 2:13 pm 
remo...@emc.comMay 17, 2012 2:21 pm 
remo...@emc.comMay 18, 2012 6:27 am 
Danny ThorpeMay 18, 2012 9:30 am 
Hal LockhartMay 29, 2012 12:25 pm 
Hal LockhartMay 29, 2012 1:01 pm 
Subject:[xacml] [xacml-users] REST Profile - PDP Issues
From:Hal Lockhart (hal.@oracle.com)
Date:May 16, 2012 2:25:17 pm
List:org.oasis-open.lists.xacml

I have a number of different kinds of comments about the REST Profile and Media
types which will post separately to allow the discussion to take place in
distinct threads.

Section 2.2.2 is not very clear about what precisely goes into the POST request
and response exchanged with a PDP, but the example shows XACML <Request> and
<Response> elements being sent.

(Minor point: it is customary to use a namespace qualified name and define the
namespace tags near the beginning of the doc. Specifications frequently
reference several XML schemas and they could contain the same element names. In
particular, common words like Request and Response are likely to appear in many
schemas.)

However, the current, SOAP-based wire protocol which is specified in section 4
of the SAML Profile of XACML wraps the request in a XACMLAuthzDecisionQuery
request and the response is wrapped in an Assertion and XACMLAuthzDecisionQuery
response. These wrappers add complexity, but provide a number of useful
capabilities. I would suggest reviewing these to determine if any this
functionality would be of value in this profile.

One feature I believe is required is Request/Response correlation. The
SAML-derived request/response solve this problem by means of the ID and
InResponseTo XML Attributes.

Assuming HTTP 1.1 may be used and considering that a typical PEP is a
multithreaded server, the possibility of having more than one request
outstanding at the same time arises. Therefore it becomes necessary to figure
out what request the PDP has said to Permit.

This could be done by means of the IncludeInResponse feature, but that involves
additional transmission and processing overhead. If your intention is to set a
limit of one outstanding request per TCP session, then that should be stated
explicitly. IMO the SAML InResponseTo scheme or something equivalent to it is
the easiest way to solve the problem.

For the record, the Request includes:

Issuer Signature ID Version Issue Instant Destination Consent Processing Flags InputContextOnly ReturnContext CombinePolicies AdditionalAttributes Policy PolicySet ReferencedPolicies AdditionalAttributes AssignedAttributes Holders HolderAttributes

Much of this applies only to the Admin Profile, which we could choose not to
support in this protocol, but I would like an explicit decision to that effect.

The Assertion includes:

Issuer Signature ID Version Issue Instant Validity Period

The Response includes:

Issuer Signature ID InResponseTo Version Issue Instant Destination Consent Status (covered by the HTTP Status Code)

Hal