super(namespaceURI, elementLocalName);
}
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
AuthnRequest req = (AuthnRequest) samlObject;
if (req.isForceAuthnXSBoolean() != null)
domElement.setAttributeNS(null, AuthnRequest.FORCE_AUTHN_ATTRIB_NAME, req.isForceAuthnXSBoolean().toString());
if (req.isPassiveXSBoolean() != null)
domElement.setAttributeNS(null, AuthnRequest.IS_PASSIVE_ATTRIB_NAME, req.isPassiveXSBoolean().toString());
if (req.getProtocolBinding() != null)
domElement.setAttributeNS(null, AuthnRequest.PROTOCOL_BINDING_ATTRIB_NAME, req.getProtocolBinding());
if (req.getAssertionConsumerServiceIndex() != null)
domElement.setAttributeNS(null, AuthnRequest.ASSERTION_CONSUMER_SERVICE_INDEX_ATTRIB_NAME, req
.getAssertionConsumerServiceIndex().toString());
if (req.getAssertionConsumerServiceURL() != null)
domElement.setAttributeNS(null, AuthnRequest.ASSERTION_CONSUMER_SERVICE_URL_ATTRIB_NAME, req
.getAssertionConsumerServiceURL());
if (req.getAttributeConsumingServiceIndex() != null)
domElement.setAttributeNS(null, AuthnRequest.ATTRIBUTE_CONSUMING_SERVICE_INDEX_ATTRIB_NAME, req
.getAttributeConsumingServiceIndex().toString());
if (req.getProviderName() != null)
domElement.setAttributeNS(null, AuthnRequest.PROVIDER_NAME_ATTRIB_NAME, req.getProviderName());
super.marshallAttributes(samlObject, domElement);
}