schemas.policy.xsd Maven / Gradle / Ivy
This schema defines features and beans to configure the CXF Policy Framework.
The policies feature enables and configures the CXF Policy Framework.
It can have any number of Policy or PolicyReference child elements.
When this feature applies to a client or service endpoint, these policies
are merged with other policies attached to policy scope that contain
the policy subject to obtain the effective policy for the subject.
When this feature is applied to the bus, its policies are relevant to all
client and server endpoints created on that bus.
The alternative selector to use when choosing one of multiple policy alternatives.
The child element of this element must be a bean whose bean class implements
org.apache.cxf.ws.policy.selector.AlternativeSelector, or a reference to such a bean.
The alternative selector to use when choosing one of multiple policy alternatives.
The child element of this element must be a bean whose bean class implements
org.apache.cxf.ws.policy.selector.AlternativeSelector, or a reference to such a bean.
The state of the policy engine.
If enabled, the policy interceptors will be added to the interceptor
chains of all messages and faults, and in turn may add feature specific
interceptors depending on the capabilities and requirements of the
underlying message exchange.
By default, the engine is turned off.
Indicates how to handle assertions for which no AssertionBuilders are registered.
By default, the policy engine throws an Exception upon encoutering an
unknown assertion type. If this attribute is set to true, it will only
log a warning.
Location of the external attachment document.
It must be specified in form of a Spring Resource type property, e.g.
classpath:etc/policies.xml or file:/x1/resources/polcies.xml.