*/
protected ManagementAssertion(final QName name, AssertionData data, Collection<PolicyAssertion> assertionParameters)
throws AssertionCreationException {
super(data, assertionParameters);
if (!name.equals(data.getName())) {
throw LOGGER.logSevereException(new AssertionCreationException(data,
ManagementMessages.WSM_1002_EXPECTED_MANAGEMENT_ASSERTION(name)));
}
if (isManagementEnabled() && !data.containsAttribute(ID_ATTRIBUTE_QNAME)) {
throw LOGGER.logSevereException(new AssertionCreationException(data,
ManagementMessages.WSM_1003_MANAGEMENT_ASSERTION_MISSING_ID(name)));
}
}