if (LOG.isDebugEnabled()) {
LOG.debug(str.toString());
}
BSPEnforcer bspEnforcer = new BSPEnforcer();
// Process the STR
try {
new SecurityTokenReference(strElement,bspEnforcer);
fail("Failure expected on multiple data references");
} catch (WSSecurityException ex) {
// Expected
}
bspEnforcer.setIgnoredBSPRules(Collections.singletonList(BSPRule.R3061));
new SecurityTokenReference(strElement, bspEnforcer);
}