<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>3753</bug_id>
          
          <creation_ts>2006-09-19 15:00:54 +0000</creation_ts>
          <short_desc>Example 1-1 is not a complete security policy</short_desc>
          <delta_ts>2006-09-27 18:17:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Policy</product>
          <component>Framework</component>
          <version>PR</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fabian Ritzmann">ritzmann</reporter>
          <assigned_to name="Fabian Ritzmann">ritzmann</assigned_to>
          
          
          <qa_contact name="Web Services Policy WG QA List">public-ws-policy-qa</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>11859</commentid>
    <comment_count>0</comment_count>
    <who name="Fabian Ritzmann">ritzmann</who>
    <bug_when>2006-09-19 15:00:54 +0000</bug_when>
    <thetext>Title

Example 1-1 is not a complete security policy


Description

Example 1-1 shows a simple policy with two security policy assertions in lines 03 and 04. According to WS-SecurityPolicy 1.2, section 7.1, these security policy assertions must be encapsulated by a policy that is nested inside an AlgorithmSuite assertion. The enclosing AlgorithmSuite assertions as well as suitable top-level assertions containing the AlgorithmSuite assertions are missing from example 1-1.

The examples in the following chapters build on this first example. Despite extensive research we did not find a policy that is sufficiently simple, can serve as a basis for the other examples, and still is a valid policy. We should still point out that the example given is an incomplete policy that only serves to illustrate how a policy could look like.


Justification

An example of a policy that claims to display a security policy but in fact violates the constraints of WS-SecurityPolicy causes unnecessary confusion among readers of both specifications.


Target

Web Services Policy Framework, section 1.2, example 1-1


Proposal

Replace &quot;The following example illustrates a security policy expression using assertions defined in WS-SecurityPolicy WS-SecurityPolicy?:&quot;

by &quot;The following example illustrates a security policy expression using assertions defined in WS-SecurityPolicy WS-SecurityPolicy? rather than a complete security policy:&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11860</commentid>
    <comment_count>1</comment_count>
    <who name="Fabian Ritzmann">ritzmann</who>
    <bug_when>2006-09-19 15:13:35 +0000</bug_when>
    <thetext>The proposal text got slightly skewed. Here is a cleaned up version:

Proposal

Replace &quot;The following example illustrates a security policy expression using
assertions defined in WS-SecurityPolicy [WS-SecurityPolicy]:&quot;

by &quot;The following example illustrates a security policy expression using
assertions defined in WS-SecurityPolicy [WS-SecurityPolicy] rather than a
complete security policy:&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11887</commentid>
    <comment_count>2</comment_count>
    <who name="Fabian Ritzmann">ritzmann</who>
    <bug_when>2006-09-20 11:22:17 +0000</bug_when>
    <thetext>Follow up by Tony Nadalin:

Instead for changing the wording I suggest the following using the
following example

01) &lt;wsp:Policy
xmlns:sp=&quot;http://schemas.xmlsoap.org/ws/2005/07/securitypolicy&quot;
xmlns:wsp=&quot;http://www.w3.org/@@@@/@@/policy&quot; &gt;
(02)   &lt;wsp:ExactlyOne&gt;
(03)     &lt;wsp:All&gt;
(04)       &lt;sp:SignedParts&gt;
              &lt;sp:Body /&gt;
           &lt;/sp:SignedParts&gt;
(05)     &lt;/wsp:All&gt;
(06)     &lt;wsp:All&gt;
(07)       &lt;sp:EncryptedParts&gt;
              &lt;sp:Body /&gt;
           &lt;/sp:EncryptedParts&gt;
(08)     &lt;/wsp:All&gt;
(09)   &lt;/wsp:ExactlyOne&gt;
(10) &lt;/wsp:Policy&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12027</commentid>
    <comment_count>3</comment_count>
    <who name="Fabian Ritzmann">ritzmann</who>
    <bug_when>2006-09-26 11:33:10 +0000</bug_when>
    <thetext>Comment by Dan Roth:

This looks good to me.  I suggested we assign this one over to the editors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12111</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Cotton">Paul.Cotton</who>
    <bug_when>2006-09-27 18:17:04 +0000</bug_when>
    <thetext>Resolved at Sep 27 meeting:
http://www.w3.org/2006/09/27-ws-policy-minutes.html 

Adopted Tony&apos;s example in http://www.w3.org/Bugs/Public/show_bug.cgi?id=3753#c2 and moved existing example 1-1 to later section where it is referenced.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>