Revision 9515 org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.api/src/main/java/org/gvsig/online/lib/api/OnlineUserIdentificationRequester.java
OnlineUserIdentificationRequester.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.online.lib.api; |
23 | 23 |
|
24 |
import org.gvsig.json.SupportJson; |
|
25 |
import org.gvsig.tools.util.Factory; |
|
26 |
|
|
24 | 27 |
/** |
25 | 28 |
* |
26 | 29 |
* @author gvSIG Team |
27 | 30 |
*/ |
28 |
public interface OnlineUserIdentificationRequester extends org.gvsig.tools.observer.Observable { |
|
29 |
public static final String CHANGE_USER = "CHANGE_USER"; |
|
31 |
public interface OnlineUserIdentificationRequester { |
|
30 | 32 |
|
33 |
public static final String CONFIG_URLONLINE_NAME = "urlOnline"; |
|
34 |
public static final String CONFIG_FACTORYNAME_NAME = "factory"; |
|
35 |
|
|
36 |
|
|
37 |
public interface OnlineUserIdentificationRequesterFactory extends Factory<OnlineUserIdentificationRequesterConfig> { |
|
38 |
|
|
39 |
} |
|
40 |
|
|
41 |
public interface OnlineUserIdentificationRequesterConfig extends SupportJson { |
|
42 |
public String getName(); |
|
43 |
|
|
44 |
public String getUrlOnline(); |
|
45 |
|
|
46 |
public OnlineUserIdentificationRequesterFactory getFactory(); |
|
47 |
|
|
48 |
public boolean requestIdentificationConfig(); |
|
49 |
|
|
50 |
public boolean hasIdentificationConfig(); |
|
51 |
|
|
52 |
public OnlineUserIdentificationRequester createUserIdentificationRequester(); |
|
53 |
} |
|
54 |
|
|
31 | 55 |
public boolean requestIdentification(); |
32 | 56 |
|
33 | 57 |
public String getUserId(); |
34 | 58 |
|
35 |
public String getPassword();
|
|
59 |
public String getAuthorization();
|
|
36 | 60 |
} |
Also available in: Unified diff