org.apache.ws.security.policy
Class WSS4JPolicyBuilder

java.lang.Object
  extended byorg.apache.ws.security.policy.WSS4JPolicyBuilder

public class WSS4JPolicyBuilder
extends java.lang.Object


Constructor Summary
WSS4JPolicyBuilder()
           
 
Method Summary
static WSS4JPolicyData build(java.util.ArrayList topLevelPeds)
          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
 

Constructor Detail

WSS4JPolicyBuilder

public WSS4JPolicyBuilder()
Method Detail

build

public static WSS4JPolicyData build(java.util.ArrayList topLevelPeds)
                             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:
topLevelPeds - The list of the top level Policy Engine data
Returns:
The compile Poilcy data block.
Throws:
WSSPolicyException


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.