Callback implementation for dynamic policy resolution.
A DynamicPolicy Callback is made by the XWS-runtime to
allow the application/Handler to decide the incoming/outgoing
SecurityPolicy at runtime.
When the SecurityPolicy set on the Callback is a DynamicSecurityPolicy then
the CallbackHandler is currently expected to set a com.sun.xml.wss.impl.configuration.MessagePolicy
instance as the resolved policy. The MessagePolicy instance can contain policies generated by the
PolicyGenerator obtained from the DynamicSecurityPolicy.
|