public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException {
final QName name = data.getName();
if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) {
return new ManagedServiceAssertion(data, assertionParameters);
}
else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) {
return new ManagedClientAssertion(data, assertionParameters);
}
else {