Class IgnorePolicyFeature

  • All Implemented Interfaces:
    WebServiceClientFeature, org.apache.cxf.transport.http.HTTPConduitConfigurer

    public class IgnorePolicyFeature
    extends Object
    implements WebServiceClientFeature, org.apache.cxf.transport.http.HTTPConduitConfigurer
    Allows to disable specific policies.
    The disabled policies can be specified with the property 'policy.disabled' as a comma-separated list of form 'namespaceURI:policy'.
    E.g. http://schemas.xmlsoap.org/ws/2005/07/securitypolicy:SupportingTokens

    If multiple policies must be disabled within the same namespace, they can be separated by |
    E.g. http://schemas.xmlsoap.org/ws/2005/07/securitypolicy:SupportingTokens|TransportBinding|SignedSupportingTokens|Wss11

    If all policies should be ignored, consider using the IgnoreAllPoliciesFeature.

    Since:
    7.1
    See Also:
    IgnoreAllPoliciesFeature
    API:
    This is a public API.