Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.downloader / org.gvsig.downloader.lib / org.gvsig.downloader.lib.api / src / main / java / org / gvsig / downloader / spi / AbstractDownloaderAuthenticationRequester.java @ 47821

History | View | Annotate | Download (963 Bytes)

1
/*
2
 * To change this license header, choose License Headers in Project Properties.
3
 * To change this template file, choose Tools | Templates
4
 * and open the template in the editor.
5
 */
6
package org.gvsig.downloader.spi;
7

    
8
import org.gvsig.downloader.DownloaderAuthenticationConfig;
9
import org.gvsig.downloader.DownloaderAuthenticationRequester;
10
import org.gvsig.downloader.DownloaderCredentials;
11

    
12
/**
13
 *
14
 * @author jjdelcerro
15
 */
16
public abstract class AbstractDownloaderAuthenticationRequester
17
        implements DownloaderAuthenticationRequester
18
    {
19

    
20
    private final DownloaderAuthenticationConfig config;
21

    
22
    protected AbstractDownloaderAuthenticationRequester(DownloaderAuthenticationConfig config) {
23
        this.config = config;
24
    }
25
    
26
    @Override
27
    public DownloaderAuthenticationConfig getConfig() {
28
        return this.config;
29
    }
30

    
31
    @Override
32
    public String getProviderName() {
33
        return this.config.getProviderName();
34
    }
35
   
36
}