Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Policy Interceptors

Using binding.ws this figure shows where interceptors are currently added to the invocation and binding chains and some of the problems we have (as discussed recently on the ML)

Image Added

Policy Summary

TBD - list of all the intents and policys that are supported by extension

binding.ws HTTP basic authentication

...

Phase

Extension

Intent

PolicyModel

Builder

Provider

Interceptor

Notes

Component Impl

Java

 

 

 

 

 

 

Reference Wire

 

 

 

 

 

 

 

Reference Binding Wire

 

 

 

 

 

 

 

Reference Binding/EPR

WS

confidentiality

HTTPSPolicy

HTTPSPolicyProvider

 

 

 

Service Binding/EP

WS

confidentiality

HTTPSPolicy

HTTPSPolicyProvider

 

 

 

Service Binding Wire

 

 

 

 

 

 

 

Service Wire

 

 

 

 

 

 

 

Component Impl

Java

 

 

 

 

 

 

...

Note. The provider is is possibly badly named as it configures the trust/key store for the whole JVM. If you define two policy sets with different trust/key store configuration then only one will be used. Should the provider be more generically named/located to indicate this?

...

Phase

Extension

Intent

PolicyModel

Builder

Provider

Interceptor

Notes

Component Impl

Java

 

 

TransactionPolicyBuilder  

 

  look

at intent list and add appropriate TBD - impl specific defaults

Reference Wire - Impl

 

 

 

  

TransactionImplementationPolicyProvider

  

look at policy list and add appropriate defaults

Reference Binding Wire - Ref

 

 

 

  

TransactionReferencePolicyProvider

  

look at policy list and add appropriate defaults

Reference Binding/EPR

WS

 

 

TransactionPolicyBuilder  

 

  look

at intent list and add appropriate TBD - binding specific defaults

Service BindinBinding/EP

WS

 

 

TransactionPolicyBuilder  

 

  look

at intent list and add appropriate TBD - binding specific defaults

Service Binding Wire - Svc

 

 

 

  

TransactionServicePolicyProvider

  

look at policy list and add appropriate defaults

Service Wire - Impl

 

 

 

  

TransactionImplementationPolicyProvider

  

look at policy list and add appropriate defaults

Component Impl

Java

 

 

TransactionPolicyBuilder  

 

  look

at intent list and add appropriate TBD - impl specific defaults

Note. Subsequently the following will process the new intents that have been added

...

Phase

Extension

Intent

PolicyModel

Builder

Provider

Interceptor

Notes

Component Impl

Spring
 

managedTransaction.global

  TransactionPolicy

  

TBD

  TBD

 

Component Impl

Java

managedTransaction.global

TransactionPolicy

 

TransactionImplementationPolicyProvider

TransactionInterceptor

Seems odd that there is only one interceptor

Reference Wire - Impl

 

 

 

 

 

 

 

Reference Wire - Ref

 

 

 

 

TransactionReferencePolicyProvider

TransactionInterceptor

 

Reference Binding Wire /EPR

  WS  

propagatesTransaction

  TransactionPolicy

  

?

  TransactionReferenceBindingWSInterceptor

 

Reference Binding/EPR

SCA WS

propagatesTransaction

TransactionPolicy

 

?  

TransactionReferenceBindingWSInterceptor

 

 

Is interceptor required?

Service Reference Binding/EPR EP

SCA

  propagatesTransaction  

TransactionPolicy

 

 

  

Is interceptor required?

Service BindinBinding/EP

WS

propagatesTransaction

TransactionPolicy

 

?

TransactionServiceBindingWSInterceptor

 

Service Binding Wire

 

 

 

  

TransactionServicePolicyProvider

  TransactionInterceptor

  Service

Wire Component Impl

  Java  

managedTransaction.global

  TransactionPolicy

 

TransactionServicePolicyProvider TransactionImplementationPolicyProvider

TransactionInterceptor

 

Component Impl

Spring Java

managedTransaction.global

TransactionPolicy

 

TBD TransactionImplementationPolicyProvider

TBD TransactionInterceptor

 

Policy runtime template

Phase

Extension

Intent

PolicyModel

Builder

Provider

Interceptor

Notes

Component Impl

Java

 

 

 

 

 

 

Reference Wire

 

 

 

 

 

 

 

Reference Binding Wire

 

 

 

 

 

 

 

Reference Binding/EPR

 

 

 

 

 

 

 

Service Binding/EP

 

 

 

 

 

 

 

Service Binding Wire

 

 

 

 

 

 

 

Service Wire

 

 

 

 

 

 

 

Component Impl

Java