code: public static <T extends XMLObject> T transformSamlObject(final OpenSamlConfigBean configBean, final String xml,
                                                                final Class<T> clazz) {
          return transformSamlObject(configBean, xml.getBytes(StandardCharsets.UTF_8), clazz);
      }
docs: Transform saml object t.
  
  @param <T>        the type parameter
  @param configBean the config bean
  @param xml        the xml
  @param clazz      the clazz
  @return the t