/**
*
*/
public Assertion build(OMElement element, AssertionBuilderFactory arg1)
throws IllegalArgumentException {
KerberosToken kerberosToken = new KerberosToken(SPConstants.SP_V11);
OMElement policyElement = element.getFirstElement();
// Process token inclusion
OMAttribute includeAttr = element.getAttribute(SP11Constants.INCLUDE_TOKEN);
if (includeAttr != null) {
int inclusion = SP11Constants.getInclusionFromAttributeValue(includeAttr
.getAttributeValue());
kerberosToken.setInclusion(inclusion);
}
if (policyElement != null) {
Policy policy = PolicyEngine.getPolicy(element.getFirstElement());
policy = (Policy) policy.normalize(false);