public PolicyAssertion build(Element element)
throws IllegalArgumentException {
SPConstants consts = SP11Constants.SP_NS.equals(element.getNamespaceURI())
? SP11Constants.INSTANCE : SP12Constants.INSTANCE;
Wss11 wss11 = new Wss11(consts);
Policy policy = builder.getPolicy(DOMUtils.getFirstElement(element));
policy = (Policy)policy.normalize(false);
for (Iterator iterator = policy.getAlternatives(); iterator.hasNext();) {