super.configureProperties(msg, outboundSecurityContext, securityProperties);
if (transAis != null) {
TransportBinding binding = (TransportBinding)transAis.getAssertion();
new StaxTransportBindingHandler(
securityProperties, msg, binding, outboundSecurityContext).handleBinding();
} else if (asymAis != null) {
AsymmetricBinding binding = (AsymmetricBinding)asymAis.getAssertion();
new StaxAsymmetricBindingHandler(
securityProperties, msg, binding, outboundSecurityContext).handleBinding();
} else if (symAis != null) {
SymmetricBinding binding = (SymmetricBinding)symAis.getAssertion();
new StaxSymmetricBindingHandler(
securityProperties, msg, binding, outboundSecurityContext).handleBinding();
} else {
// Fall back to Transport Binding
new StaxTransportBindingHandler(
securityProperties, msg, null, outboundSecurityContext).handleBinding();
}
}