Revision 47841 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.downloader/org.gvsig.downloader.lib/org.gvsig.downloader.lib.impl/src/main/java/org/gvsig/downloader/lib/impl/types/httpbasic/DownloaderHTTPBasicAuthenticationFactory.java

View differences:

DownloaderHTTPBasicAuthenticationFactory.java
4 4
import org.gvsig.downloader.DownloaderAuthenticationFactory;
5 5
import org.gvsig.downloader.DownloaderManager;
6 6
import org.gvsig.downloader.spi.AbstractDownloaderAuthenticationFactory;
7
import org.gvsig.json.Json;
7 8
import static org.gvsig.tools.util.CachedValue.LOGGER;
8 9

  
9 10

  
......
38 39
        try {
39 40
            DownloaderManager downloader = (DownloaderManager) CompatLocator.getDownloader();
40 41
            downloader.registerAuthenticationType(new DownloaderHTTPBasicAuthenticationFactory());
42
            Json.registerSerializer(DownloaderHTTPBasicAuthenticationConfig.class);
41 43
        } catch(Throwable t) {
42 44
            LOGGER.warn("Can't register http-basic downloader authentication factory ",t);
43 45
        }

Also available in: Unified diff