root / src / gr / grnet / pithos / web / client / Configuration.java @ 749068ba
History | View | Annotate | Download (2.5 kB)
1 | a57faaf0 | Christos Stathis | /*
|
---|---|---|---|
2 | 63366925 | Christos Stathis | * Copyright 2011 GRNET S.A. All rights reserved.
|
3 | 63366925 | Christos Stathis | *
|
4 | 63366925 | Christos Stathis | * Redistribution and use in source and binary forms, with or
|
5 | 63366925 | Christos Stathis | * without modification, are permitted provided that the following
|
6 | 63366925 | Christos Stathis | * conditions are met:
|
7 | 63366925 | Christos Stathis | *
|
8 | 63366925 | Christos Stathis | * 1. Redistributions of source code must retain the above
|
9 | 63366925 | Christos Stathis | * copyright notice, this list of conditions and the following
|
10 | 63366925 | Christos Stathis | * disclaimer.
|
11 | 63366925 | Christos Stathis | *
|
12 | 63366925 | Christos Stathis | * 2. Redistributions in binary form must reproduce the above
|
13 | 63366925 | Christos Stathis | * copyright notice, this list of conditions and the following
|
14 | 63366925 | Christos Stathis | * disclaimer in the documentation and/or other materials
|
15 | 63366925 | Christos Stathis | * provided with the distribution.
|
16 | 63366925 | Christos Stathis | *
|
17 | 63366925 | Christos Stathis | * THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
|
18 | 63366925 | Christos Stathis | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
19 | 63366925 | Christos Stathis | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
20 | 63366925 | Christos Stathis | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
|
21 | 63366925 | Christos Stathis | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
22 | 63366925 | Christos Stathis | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
23 | 63366925 | Christos Stathis | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
24 | 63366925 | Christos Stathis | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
25 | 63366925 | Christos Stathis | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
26 | 63366925 | Christos Stathis | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
27 | 63366925 | Christos Stathis | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
28 | 63366925 | Christos Stathis | * POSSIBILITY OF SUCH DAMAGE.
|
29 | 63366925 | Christos Stathis | *
|
30 | 63366925 | Christos Stathis | * The views and conclusions contained in the software and
|
31 | 63366925 | Christos Stathis | * documentation are those of the authors and should not be
|
32 | 63366925 | Christos Stathis | * interpreted as representing official policies, either expressed
|
33 | 63366925 | Christos Stathis | * or implied, of GRNET S.A.
|
34 | a57faaf0 | Christos Stathis | */
|
35 | a57faaf0 | Christos Stathis | package gr.grnet.pithos.web.client; |
36 | a57faaf0 | Christos Stathis | |
37 | a57faaf0 | Christos Stathis | import com.google.gwt.i18n.client.Constants; |
38 | a57faaf0 | Christos Stathis | |
39 | a57faaf0 | Christos Stathis | |
40 | a57faaf0 | Christos Stathis | /**
|
41 | a57faaf0 | Christos Stathis | * This interface contains bindings for the compile-time configurable
|
42 | a57faaf0 | Christos Stathis | * entities of the application.
|
43 | a57faaf0 | Christos Stathis | *
|
44 | a57faaf0 | Christos Stathis | */
|
45 | a57faaf0 | Christos Stathis | public interface Configuration extends Constants { |
46 | a57faaf0 | Christos Stathis | /**
|
47 | a57faaf0 | Christos Stathis | * @return the name of the service
|
48 | a57faaf0 | Christos Stathis | */
|
49 | 749068ba | Christos Stathis | @DefaultStringValue("pithos") |
50 | a57faaf0 | Christos Stathis | String serviceName();
|
51 | a57faaf0 | Christos Stathis | |
52 | a57faaf0 | Christos Stathis | /**
|
53 | a57faaf0 | Christos Stathis | * @return the login URL
|
54 | a57faaf0 | Christos Stathis | */
|
55 | 652d9ee1 | Christos Stathis | @DefaultStringValue("pithos/login") |
56 | a57faaf0 | Christos Stathis | String loginUrl();
|
57 | a57faaf0 | Christos Stathis | |
58 | a57faaf0 | Christos Stathis | /**
|
59 | a57faaf0 | Christos Stathis | * @return the logout URL
|
60 | a57faaf0 | Christos Stathis | */
|
61 | a57faaf0 | Christos Stathis | @DefaultStringValue("/pithos/login") |
62 | a57faaf0 | Christos Stathis | String logoutUrl();
|
63 | a57faaf0 | Christos Stathis | |
64 | a57faaf0 | Christos Stathis | /**
|
65 | a57faaf0 | Christos Stathis | * @return the authentication cookie name
|
66 | a57faaf0 | Christos Stathis | */
|
67 | a57faaf0 | Christos Stathis | @DefaultStringValue("_gss_a") |
68 | a57faaf0 | Christos Stathis | String authCookie();
|
69 | a57faaf0 | Christos Stathis | |
70 | a57faaf0 | Christos Stathis | /**
|
71 | a57faaf0 | Christos Stathis | * @return the separator string between username and token in the
|
72 | a57faaf0 | Christos Stathis | * authentication cookie
|
73 | a57faaf0 | Christos Stathis | */
|
74 | a57faaf0 | Christos Stathis | @DefaultStringValue("|") |
75 | a57faaf0 | Christos Stathis | String cookieSeparator();
|
76 | a57faaf0 | Christos Stathis | |
77 | a57faaf0 | Christos Stathis | /**
|
78 | a57faaf0 | Christos Stathis | * @return the relative path of the API root URL
|
79 | a57faaf0 | Christos Stathis | */
|
80 | 6084aa02 | Christos Stathis | @DefaultStringValue("/v1/") |
81 | a57faaf0 | Christos Stathis | String apiPath();
|
82 | a57faaf0 | Christos Stathis | |
83 | a57faaf0 | Christos Stathis | /**
|
84 | a57faaf0 | Christos Stathis | * @return the version string
|
85 | a57faaf0 | Christos Stathis | */
|
86 | a57faaf0 | Christos Stathis | @DefaultStringValue("") |
87 | a57faaf0 | Christos Stathis | String version();
|
88 | a57faaf0 | Christos Stathis | |
89 | a57faaf0 | Christos Stathis | } |