org.apache.rampart.policy
Class RampartPolicyBuilder
java.lang.Object
org.apache.rampart.policy.RampartPolicyBuilder
- public class RampartPolicyBuilder
- extends Object
Method Summary |
static RampartPolicyData |
build(List topLevelAssertions)
Compile the parsed security data into one Policy data block. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RampartPolicyBuilder
public RampartPolicyBuilder()
build
public static RampartPolicyData build(List 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 Poilcy data block.
- Throws:
WSSPolicyException