2 * Copyright 2009 Electronic Business Systems Ltd.
4 * This file is part of GSS.
6 * GSS is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * GSS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with GSS. If not, see <http://www.gnu.org/licenses/>.
19 package gr.ebs.gss.client;
21 import com.google.gwt.i18n.client.Constants;
25 * This interface contains bindings for the compile-time configurable
26 * entities of the application.
30 public interface Configuration extends Constants {
32 * @return the name of the service
34 @DefaultStringValue("GSS")
38 * @return the login URL
40 @DefaultStringValue("/gss/login")
44 * @return the logout URL
46 @DefaultStringValue("/gss/login")
50 * @return the authentication cookie name
52 @DefaultStringValue("_gss_a")
56 * @return the webdav cookie name
58 @DefaultStringValue("_gss_wd")
59 String webdavCookie();
62 * @return the separator string between username and token in the
63 * authentication cookie
65 @DefaultStringValue("|")
66 String cookieSeparator();
69 * @return the relative path of the API root URL
71 @DefaultStringValue("rest/")
75 * @return the WebDAV URL
77 @DefaultStringValue("/webdav/")
81 * @return the URL of the service home page
83 @DefaultStringValue("http://localhost:8080/")
87 * @return the token TTL note
89 @DefaultStringValue("")
90 String tokenTTLNote();