private static String getArtifactIdFromRequest(final Element requestChild) {
        if (requestChild == null) {
            LOGGER.trace("Element responsible for AssertionArtifact is undefined");
            return null;
        }
        val artifactElement = requestChild.getChild("AssertionArtifact", NAMESPACE_SAML1);
        if (artifactElement == null) {
            LOGGER.trace("Element [{}] does not contain a child element for AssertionArtifact", requestChild.getName());
            return null;
        }
        return artifactElement.getValue().trim();
    }
Gets the request body from the request.

@param request the request
@return the request body
support/cas-server-support-saml-core-api/src/main/java/org/apereo/cas/support/saml/authentication/principal/SamlServiceFactory.java