Class RampartPolicyBuilder

java.lang.Object
org.apache.rampart.policy.RampartPolicyBuilder

public class RampartPolicyBuilder extends Object
  • Constructor Details

    • RampartPolicyBuilder

      public RampartPolicyBuilder()
  • Method Details

    • build

      public static RampartPolicyData build(List<org.apache.neethi.Assertion> topLevelAssertions) throws WSSPolicyException
      Compile the parsed security data into one Policy data block. This methods loops over all top level Policy Engine data elements, extracts the parsed parameters and sets them into a single data block. During this processing the method prepares the parameters in a format that is ready for processing by the WSS4J functions.

      The WSS4J policy enabled handler takes this data block to control the setup of the security header.

      Parameters:
      topLevelAssertions - The iterator of the top level policy assertions
      Returns:
      The compile Policy data block.
      Throws:
      WSSPolicyException - If an error occurs building RampartPolicyData