code: public static StringWriter transformSamlObject(final OpenSamlConfigBean configBean, final XMLObject samlObject) throws SamlException {
          return transformSamlObject(configBean, samlObject, false);
      }
docs: 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