Chapter 10. Defining and applying policy
This chapter covers
- SCA policy in general
- Implementation policy
- Interaction policy
Policies in Tuscany and SCA are used to control those aspects of your application that tend to be orthogonal to your component implementations, for example, logging and monitoring or security concerns such as authentication, integrity, and confidentiality. These types of functions are often referred to as qualities of service and can significantly complicate an application if you implement them inside your business logic.
In an enterprise, it’s better to define policies once and then apply them consistently across all of the components that need them. That’s why SCA describes a policy framework that allows intents and policy sets to be defined and associated with component implementations and the bindings that connect them. Using policy sets and intents, you don’t have to use APIs to achieve quality of service (QoS) behavior; you just mark up the composite application.