/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { SPSSODescriptor descriptor = (SPSSODescriptor) samlObject; if (descriptor.isAuthnRequestsSignedXSBoolean() != null) { domElement.setAttributeNS(null, SPSSODescriptor.AUTH_REQUESTS_SIGNED_ATTRIB_NAME, descriptor .isAuthnRequestsSignedXSBoolean().toString()); } if (descriptor.getWantAssertionsSignedXSBoolean() != null) { domElement.setAttributeNS(null, SPSSODescriptor.WANT_ASSERTIONS_SIGNED_ATTRIB_NAME, descriptor .getWantAssertionsSignedXSBoolean().toString()); } super.marshallAttributes(samlObject, domElement); } }