com.sun.xml.ws.security.addressing.policy
Class WsawAddressingPolicyMapConfigurator

java.lang.Object
  extended by com.sun.xml.ws.security.addressing.policy.WsawAddressingPolicyMapConfigurator
All Implemented Interfaces:
PolicyMapConfigurator

public class WsawAddressingPolicyMapConfigurator
extends Object
implements PolicyMapConfigurator

Generate an wsaw:UsingAddressing policy assertion and updates the PolicyMap if AddressingFeature is enabled. This is done in WSIT just for backwards compatibility of WSIT for interoperability with old clients. JAX-WS generates wsam:Addressing assertion for the same when Addressing is enabled.

Author:
Rama Pulavarthi

Constructor Summary
WsawAddressingPolicyMapConfigurator()
           
 
Method Summary
 Collection<PolicySubject> update(PolicyMap policyMap, SEIModel model, WSBinding wsBinding)
          Puts an addressing policy into the PolicyMap if the addressing feature was set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WsawAddressingPolicyMapConfigurator

public WsawAddressingPolicyMapConfigurator()
Method Detail

update

public Collection<PolicySubject> update(PolicyMap policyMap,
                                        SEIModel model,
                                        WSBinding wsBinding)
                                 throws PolicyException
Puts an addressing policy into the PolicyMap if the addressing feature was set.

Specified by:
update in interface PolicyMapConfigurator
Parameters:
policyMap - This map contains the policies that were already created
model - The WSDL model of the service
wsBinding - The binding of the service
Returns:
A collection of policies and the subject to which they are attached. May return null or an empty collection.
Throws:
PolicyException - Throw this exception if an error occurs


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.