Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Like most other CXF features, the policy framework is itself largely interceptor based. Thus, most interaction with the framework is indirect through the Message object: Policy interceptors make AssertionInfo objects (stateful representations of assertions) available as a message property to subsequently executing, policy-aware interceptors like the WS-Addressing and WS-RM interceptors. These interceptors extract Extracting the AssertionInfo objects from the Message , allowing them to performs allows these interceptors to perform steps 1. and 2. above:

Code Block
java
java
import org.apache.neethi.Assertion;

public class AssertionInfo {
  ...
  public boolean isAsserted() {...}
  public void setAsserted(boolean asserted) {...}
  public Assertion getAssertion() {...}
}

...