Class WsawAddressingFeatureConfigurator
java.lang.Object
com.sun.xml.ws.security.addressing.policy.WsawAddressingFeatureConfigurator
- All Implemented Interfaces:
PolicyFeatureConfigurator
This Policy extension configures the WSDLModel with AddressingFeature when
wsaw:UsingAddressing assertion is present in the PolicyMap.
This class exists in WSIT to provide functionality for backwards compatibility with previously generated
wsaw:UsingAddressing assertion.
- Author:
- Rama Pulavarthi
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of WsawAddressingFeatureConfigurator -
Method Summary
Modifier and TypeMethodDescriptionCollection<javax.xml.ws.WebServiceFeature>getFeatures(PolicyMapKey key, PolicyMap policyMap) process addressing policy assertions and if found and are not optional then addressing is enabled on theWSDLBoundPortType
-
Constructor Details
-
WsawAddressingFeatureConfigurator
public WsawAddressingFeatureConfigurator()Creates a new instance of WsawAddressingFeatureConfigurator
-
-
Method Details
-
getFeatures
public Collection<javax.xml.ws.WebServiceFeature> getFeatures(PolicyMapKey key, PolicyMap policyMap) throws PolicyException process addressing policy assertions and if found and are not optional then addressing is enabled on theWSDLBoundPortType- Specified by:
getFeaturesin interfacePolicyFeatureConfigurator- Parameters:
key- Key that identifies the endpoint scopepolicyMap- must be non-null- Returns:
- The list of features
- Throws:
PolicyException- If retrieving the policy triggered an exception
-