root / src / gr / ebs / gss / client / Configuration.java @ 783db80b
History | View | Annotate | Download (2.1 kB)
1 | bbad17b4 | pastith | /*
|
---|---|---|---|
2 | bbad17b4 | pastith | * Copyright 2009 Electronic Business Systems Ltd.
|
3 | bbad17b4 | pastith | *
|
4 | bbad17b4 | pastith | * This file is part of GSS.
|
5 | bbad17b4 | pastith | *
|
6 | bbad17b4 | pastith | * GSS is free software: you can redistribute it and/or modify
|
7 | bbad17b4 | pastith | * it under the terms of the GNU General Public License as published by
|
8 | bbad17b4 | pastith | * the Free Software Foundation, either version 3 of the License, or
|
9 | bbad17b4 | pastith | * (at your option) any later version.
|
10 | bbad17b4 | pastith | *
|
11 | bbad17b4 | pastith | * GSS is distributed in the hope that it will be useful,
|
12 | bbad17b4 | pastith | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 | bbad17b4 | pastith | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 | bbad17b4 | pastith | * GNU General Public License for more details.
|
15 | bbad17b4 | pastith | *
|
16 | bbad17b4 | pastith | * You should have received a copy of the GNU General Public License
|
17 | bbad17b4 | pastith | * along with GSS. If not, see <http://www.gnu.org/licenses/>.
|
18 | bbad17b4 | pastith | */
|
19 | bbad17b4 | pastith | package gr.ebs.gss.client; |
20 | bbad17b4 | pastith | |
21 | bbad17b4 | pastith | import com.google.gwt.i18n.client.Constants; |
22 | bbad17b4 | pastith | |
23 | bbad17b4 | pastith | |
24 | bbad17b4 | pastith | /**
|
25 | bbad17b4 | pastith | * This interface contains bindings for the compile-time configurable
|
26 | bbad17b4 | pastith | * entities of the application.
|
27 | bbad17b4 | pastith | *
|
28 | bbad17b4 | pastith | * @author past
|
29 | bbad17b4 | pastith | */
|
30 | bbad17b4 | pastith | public interface Configuration extends Constants { |
31 | bbad17b4 | pastith | /**
|
32 | bbad17b4 | pastith | * @return the name of the service
|
33 | bbad17b4 | pastith | */
|
34 | bbad17b4 | pastith | @DefaultStringValue("GSS") |
35 | bbad17b4 | pastith | String serviceName();
|
36 | bbad17b4 | pastith | |
37 | bbad17b4 | pastith | /**
|
38 | bbad17b4 | pastith | * @return the login URL
|
39 | bbad17b4 | pastith | */
|
40 | bbad17b4 | pastith | @DefaultStringValue("/gss/login") |
41 | bbad17b4 | pastith | String loginUrl();
|
42 | bbad17b4 | pastith | |
43 | bbad17b4 | pastith | /**
|
44 | bbad17b4 | pastith | * @return the logout URL
|
45 | bbad17b4 | pastith | */
|
46 | bbad17b4 | pastith | @DefaultStringValue("/gss/login") |
47 | bbad17b4 | pastith | String logoutUrl();
|
48 | bbad17b4 | pastith | |
49 | bbad17b4 | pastith | /**
|
50 | bbad17b4 | pastith | * @return the authentication cookie name
|
51 | bbad17b4 | pastith | */
|
52 | bbad17b4 | pastith | @DefaultStringValue("_gss_a") |
53 | bbad17b4 | pastith | String authCookie();
|
54 | bbad17b4 | pastith | |
55 | bbad17b4 | pastith | /**
|
56 | 3ef7b691 | Dimitris Routsis | * @return the webdav cookie name
|
57 | 3ef7b691 | Dimitris Routsis | */
|
58 | 3ef7b691 | Dimitris Routsis | @DefaultStringValue("_gss_wd") |
59 | 3ef7b691 | Dimitris Routsis | String webdavCookie();
|
60 | 3ef7b691 | Dimitris Routsis | |
61 | 3ef7b691 | Dimitris Routsis | /**
|
62 | bbad17b4 | pastith | * @return the separator string between username and token in the
|
63 | bbad17b4 | pastith | * authentication cookie
|
64 | bbad17b4 | pastith | */
|
65 | bbad17b4 | pastith | @DefaultStringValue("|") |
66 | bbad17b4 | pastith | String cookieSeparator();
|
67 | bbad17b4 | pastith | |
68 | bbad17b4 | pastith | /**
|
69 | bbad17b4 | pastith | * @return the relative path of the API root URL
|
70 | bbad17b4 | pastith | */
|
71 | bbad17b4 | pastith | @DefaultStringValue("rest/") |
72 | bbad17b4 | pastith | String apiPath();
|
73 | 458a6a8e | pastith | |
74 | 458a6a8e | pastith | /**
|
75 | 458a6a8e | pastith | * @return the WebDAV URL
|
76 | 458a6a8e | pastith | */
|
77 | 458a6a8e | pastith | @DefaultStringValue("/webdav/") |
78 | 458a6a8e | pastith | String webdavUrl();
|
79 | 458a6a8e | pastith | |
80 | def4c064 | Panagiotis Astithas | /**
|
81 | c3828ac3 | Panagiotis Astithas | * @return the URL of the service home page
|
82 | c3828ac3 | Panagiotis Astithas | */
|
83 | c3828ac3 | Panagiotis Astithas | @DefaultStringValue("http://localhost:8080/") |
84 | c3828ac3 | Panagiotis Astithas | String serviceHome();
|
85 | c3828ac3 | Panagiotis Astithas | |
86 | c3828ac3 | Panagiotis Astithas | /**
|
87 | def4c064 | Panagiotis Astithas | * @return the token TTL note
|
88 | def4c064 | Panagiotis Astithas | */
|
89 | def4c064 | Panagiotis Astithas | @DefaultStringValue("") |
90 | def4c064 | Panagiotis Astithas | String tokenTTLNote();
|
91 | def4c064 | Panagiotis Astithas | |
92 | c92316b7 | Panagiotis Astithas | /**
|
93 | c92316b7 | Panagiotis Astithas | * @return the version string
|
94 | c92316b7 | Panagiotis Astithas | */
|
95 | c92316b7 | Panagiotis Astithas | @DefaultStringValue("") |
96 | c92316b7 | Panagiotis Astithas | String version();
|
97 | c92316b7 | Panagiotis Astithas | |
98 | bbad17b4 | pastith | } |