[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [sca-policy] Few questions related to external attachments
As I understand the IPA vs EPA proposal from Anish and yourself, inlining and direct attachment to a component are essentially the same thing, where direct attachment to a component is a form of inlining. That is, the following is a policySet attached to a component. I believe your IPA v EPA proposal calls this inlining.
<component>
<implementation.java class="foo" policySet="xs:implPolicy">
</implementation.java>
</component>
Unlike interaction policy, we've found implementation policy very difficult to represent via intents. This is the fundamental observation behind my concern. I can live with interaction policy attached exclusively via EPA mechanism because we have intents that can still capture policy requirements in the "application". For implementation policy, there is not existing viable mechanism to capturing abstract implementation policy. Authorization is a good example. Back in OSOA, we tried, desperately at times, to construct an intent model that could represent authorization policy, but were unable to do it. What we ended up with was inventing a policy language that would live inside policySets. Authorization policy is very tied to the combination of the component (the context it is defined within) and it's interface, thus it's a natural fit for direct attachment. The Java spec then went and built Java annotations for the policy language, pushing the "attachment" into the impl itself.
Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093 or 8-295-6093
e-mail:booz@us.ibm.com
"Patil, Sanjay" <sanjay.patil@sap.com>
09/15/2008 01:28 PM |
|
Answering 3) I meant inlined in composites, attached to components AND inlined in component implementations (componentTypes).
You didn't address 1 and 2 to me, but while I'm here:
1) In the case of bindings we have said that
bindings on internal wires stay the same regardless of promotion. Is
that applicable to policies as well? YES
2) If the composite has a security policy, does it override the transaction policy? NO
Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093 or 8-295-6093
e-mail:booz@us.ibm.com
Anish Karmarkar <Anish.Karmarkar@oracle.com>
09/15/2008 10:13 AM |
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]