root / web_client / src / gr / grnet / pithos / web / client / Configuration.java @ 9e8e14e4
History | View | Annotate | Download (1 kB)
1 |
/*
|
---|---|
2 |
* Copyright (c) 2011 Greek Research and Technology Network
|
3 |
*/
|
4 |
package gr.grnet.pithos.web.client; |
5 |
|
6 |
import com.google.gwt.i18n.client.Constants; |
7 |
|
8 |
|
9 |
/**
|
10 |
* This interface contains bindings for the compile-time configurable
|
11 |
* entities of the application.
|
12 |
*
|
13 |
*/
|
14 |
public interface Configuration extends Constants { |
15 |
/**
|
16 |
* @return the name of the service
|
17 |
*/
|
18 |
@DefaultStringValue("GSS") |
19 |
String serviceName();
|
20 |
|
21 |
/**
|
22 |
* @return the login URL
|
23 |
*/
|
24 |
@DefaultStringValue("pithos/login") |
25 |
String loginUrl();
|
26 |
|
27 |
/**
|
28 |
* @return the logout URL
|
29 |
*/
|
30 |
@DefaultStringValue("/pithos/login") |
31 |
String logoutUrl();
|
32 |
|
33 |
/**
|
34 |
* @return the authentication cookie name
|
35 |
*/
|
36 |
@DefaultStringValue("_gss_a") |
37 |
String authCookie();
|
38 |
|
39 |
/**
|
40 |
* @return the separator string between username and token in the
|
41 |
* authentication cookie
|
42 |
*/
|
43 |
@DefaultStringValue("|") |
44 |
String cookieSeparator();
|
45 |
|
46 |
/**
|
47 |
* @return the relative path of the API root URL
|
48 |
*/
|
49 |
@DefaultStringValue("/v1/") |
50 |
String apiPath();
|
51 |
|
52 |
/**
|
53 |
* @return the version string
|
54 |
*/
|
55 |
@DefaultStringValue("") |
56 |
String version();
|
57 |
|
58 |
} |