/** {@inheritDoc} */ protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) throws UnmarshallingException { AuthnRequest req = (AuthnRequest) parentSAMLObject; if (childSAMLObject instanceof Subject) { req.setSubject((Subject) childSAMLObject); } else if (childSAMLObject instanceof NameIDPolicy) { req.setNameIDPolicy((NameIDPolicy) childSAMLObject); } else if (childSAMLObject instanceof Conditions) { req.setConditions((Conditions) childSAMLObject); } else if (childSAMLObject instanceof RequestedAuthnContext) { req.setRequestedAuthnContext((RequestedAuthnContext) childSAMLObject); } else if (childSAMLObject instanceof Scoping) { req.setScoping((Scoping) childSAMLObject); } else { super.processChildElement(parentSAMLObject, childSAMLObject); } } }