public static StringWriter transformSamlObject(final OpenSamlConfigBean configBean, final XMLObject samlObject) throws SamlException {
        return transformSamlObject(configBean, samlObject, false);
    }
Transform saml object into string without indenting the final string.

@param configBean the config bean
@param samlObject the saml object
@return the string writer
@throws SamlException the saml exception
support/cas-server-support-saml-core-api/src/main/java/org/apereo/cas/support/saml/SamlUtils.java