← Prev in month ← Prev in thread

NEW ISSUE: Problems with Example 2b in chapter 7

From
Simon Nash <>
Date
2009-02-09T15:07:45+00:00
ID
Thread
NEW ISSUE: Problems with Example 2b in chapter 7
TARGET: Java Common Annotations and APIs

DESCRIPTION: Problems with Example 2b in chapter 7

There are a number of problems with Example 2b in section 7.3.1
of cd02-rev2.
   a. The <service> definitions for HelloService and HelloChildService
      should be inside the <component> definitions for
      HelloServiceComponent and HelloChildServiceComponent, not
      free-floating inside the <composite> definition.
   b. The <operation> definitions should not be within <component>
      defintions.  I believe the intention may have been to put them
      within <service> definitions.
   c. <operation> elements within <service> definitions were
      recently removed from the Assembly spec because of a decision
      by the Policy TC.
   d. The contents of the <operation> definitions don't seem
      consistent.  For the operations in HelloService, the <operation>
      elements provide fully explicit definitions of the intents that
      apply to the operations.  However, for the operations in
      HelloChildService, some of the <operation> elements only provide
      partial definitions of the intents that apply.  Specifically,
        "hello" specifies "confidentiality/transport" but does not
           specify "authentication" and "integrity/transport".
        "helloWorld" specifies "authentication" but does not
           specify "integrity/transport" or "confidentiality/message"

PROPOSAL:

Move the <service> definitions for HelloService and HelloChildService
inside the <component> definitions for HelloServiceComponent and
HelloChildServiceComponent.

Replace the <operation> definitions using the policy external
attachment mechanism to mark the operations with intents.

Make the intent specifications on all the operations fully explicit.
Specifically, include the following explictly for HelloChildService:
  operation "hello":  "confidentiality/transport", "authentication" and
                      "integrity/transport"
  operation "helloWorld":  "authentication", "integrity/transport" and
                           "confidentiality/message"
← Prev in month ← Prev in thread