01: package net.sf.borg.model.db.remote;
02:
03: public interface IRemoteProxyProvider {
04:
05: /////////////////////////////////////////////////////
06: // nested class Credentials
07:
08: public static class Credentials {
09: public Credentials(String username, String password) {
10: this .username = username;
11: this .password = password;
12: }
13:
14: public final String getUsername() {
15: return username;
16: }
17:
18: public final String getPassword() {
19: return password;
20: }
21:
22: // private //
23: private String username, password;
24: }
25:
26: // end nested class Credentials
27: /////////////////////////////////////////////////////
28:
29: public IRemoteProxy createProxy(String url);
30:
31: public Credentials getCredentials();
32: }
|