diff --git a/hsarweb/lib/cas-client-core-3.1.10.jar b/hsarweb/WebContent/WEB-INF/lib/cas-client-core-3.1.10.jar
similarity index 100%
rename from hsarweb/lib/cas-client-core-3.1.10.jar
rename to hsarweb/WebContent/WEB-INF/lib/cas-client-core-3.1.10.jar
diff --git a/hsarweb/lib/commons-logging-1.1.1.jar b/hsarweb/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar
similarity index 100%
rename from hsarweb/lib/commons-logging-1.1.1.jar
rename to hsarweb/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar
diff --git a/hsarweb/WebContent/WEB-INF/lib/vaadin-6.4.8.jar b/hsarweb/WebContent/WEB-INF/lib/vaadin-6.4.8.jar
new file mode 100644
index 0000000..f1bd9cf
Binary files /dev/null and b/hsarweb/WebContent/WEB-INF/lib/vaadin-6.4.8.jar differ
diff --git a/hsarweb/lib/ws-commons-util-1.0.2.jar b/hsarweb/WebContent/WEB-INF/lib/ws-commons-util-1.0.2.jar
similarity index 100%
rename from hsarweb/lib/ws-commons-util-1.0.2.jar
rename to hsarweb/WebContent/WEB-INF/lib/ws-commons-util-1.0.2.jar
diff --git a/hsarweb/lib/xmlrpc-client-3.1.3.jar b/hsarweb/WebContent/WEB-INF/lib/xmlrpc-client-3.1.3.jar
similarity index 100%
rename from hsarweb/lib/xmlrpc-client-3.1.3.jar
rename to hsarweb/WebContent/WEB-INF/lib/xmlrpc-client-3.1.3.jar
diff --git a/hsarweb/lib/xmlrpc-common-3.1.3.jar b/hsarweb/WebContent/WEB-INF/lib/xmlrpc-common-3.1.3.jar
similarity index 100%
rename from hsarweb/lib/xmlrpc-common-3.1.3.jar
rename to hsarweb/WebContent/WEB-INF/lib/xmlrpc-common-3.1.3.jar
diff --git a/hsarweb/webapp/WEB-INF/web.xml b/hsarweb/WebContent/WEB-INF/web.xml
similarity index 60%
rename from hsarweb/webapp/WEB-INF/web.xml
rename to hsarweb/WebContent/WEB-INF/web.xml
index aa5f931..ae5a4c8 100644
--- a/hsarweb/webapp/WEB-INF/web.xml
+++ b/hsarweb/WebContent/WEB-INF/web.xml
@@ -1,8 +1,9 @@
-
-
+
+
+
+ HSAdmin
serverName
@@ -16,7 +17,12 @@
xmlrpcURL
https://agnes.ostwall195.de:9443/hsar/xmlrpc/hsadmin
-
+
+ Vaadin production mode
+ productionMode
+ false
+
+
CAS Authentication Filter
org.jasig.cas.client.authentication.AuthenticationFilter
@@ -26,7 +32,7 @@
service
- http://agnes.ostwall195.de:8180/hsarweb
+ https://agnes.ostwall195.de:8443/HSAdmin
@@ -43,11 +49,11 @@
proxyCallbackUrl
- https://agnes.ostwall195.de:9443/hsarweb/proxyCallback
+ https://agnes.ostwall195.de:8443/HSAdmin/proxyCallback
service
- http://agnes.ostwall195.de:8180/hsarweb
+ https://agnes.ostwall195.de:8443/HSAdmin
@@ -60,20 +66,22 @@
CAS Authentication Filter
/*
-
-
- Faces Servlet
- javax.faces.webapp.FacesServlet
- 1
-
-
-
- Faces Servlet
- *.html
-
+
+ HSAdmin Web
+ com.vaadin.terminal.gwt.server.ApplicationServlet
+
+ Vaadin application class to start
+ application
+ de.hsadmin.web.DomainModule
+
+
+
+ HSAdmin Web
+ /*
+
+ index.html
index.jsp
-
-
+
\ No newline at end of file
diff --git a/hsarweb/webapp/index.jsp b/hsarweb/WebContent/index.jsp
similarity index 83%
rename from hsarweb/webapp/index.jsp
rename to hsarweb/WebContent/index.jsp
index 033e747..28fd4ea 100644
--- a/hsarweb/webapp/index.jsp
+++ b/hsarweb/WebContent/index.jsp
@@ -4,9 +4,9 @@
- Hello World
+ HSAdmin Web Client
-
+
\ No newline at end of file
diff --git a/hsarweb/build.xml b/hsarweb/build.xml
index 011bff7..0a0d023 100644
--- a/hsarweb/build.xml
+++ b/hsarweb/build.xml
@@ -2,16 +2,16 @@
-
+
+
+
+
-
-
-
-
+
diff --git a/hsarweb/lib/commons-beanutils-1.7.0.jar b/hsarweb/lib/commons-beanutils-1.7.0.jar
deleted file mode 100644
index b1b89c9..0000000
Binary files a/hsarweb/lib/commons-beanutils-1.7.0.jar and /dev/null differ
diff --git a/hsarweb/lib/commons-codec-1.3.jar b/hsarweb/lib/commons-codec-1.3.jar
deleted file mode 100644
index 957b675..0000000
Binary files a/hsarweb/lib/commons-codec-1.3.jar and /dev/null differ
diff --git a/hsarweb/lib/commons-collections-3.2.jar b/hsarweb/lib/commons-collections-3.2.jar
deleted file mode 100644
index 75580be..0000000
Binary files a/hsarweb/lib/commons-collections-3.2.jar and /dev/null differ
diff --git a/hsarweb/lib/commons-digester-1.8.jar b/hsarweb/lib/commons-digester-1.8.jar
deleted file mode 100644
index 1110f0a..0000000
Binary files a/hsarweb/lib/commons-digester-1.8.jar and /dev/null differ
diff --git a/hsarweb/lib/commons-discovery-0.4.jar b/hsarweb/lib/commons-discovery-0.4.jar
deleted file mode 100644
index 8355f0b..0000000
Binary files a/hsarweb/lib/commons-discovery-0.4.jar and /dev/null differ
diff --git a/hsarweb/lib/jstl-api-1.2.jar b/hsarweb/lib/jstl-api-1.2.jar
deleted file mode 100644
index 183ed63..0000000
Binary files a/hsarweb/lib/jstl-api-1.2.jar and /dev/null differ
diff --git a/hsarweb/lib/jstl-impl-1.2.jar b/hsarweb/lib/jstl-impl-1.2.jar
deleted file mode 100644
index 110ca51..0000000
Binary files a/hsarweb/lib/jstl-impl-1.2.jar and /dev/null differ
diff --git a/hsarweb/lib/myfaces-api-2.0.1.jar b/hsarweb/lib/myfaces-api-2.0.1.jar
deleted file mode 100644
index bbcada1..0000000
Binary files a/hsarweb/lib/myfaces-api-2.0.1.jar and /dev/null differ
diff --git a/hsarweb/lib/myfaces-impl-2.0.1.jar b/hsarweb/lib/myfaces-impl-2.0.1.jar
deleted file mode 100644
index 199b7d8..0000000
Binary files a/hsarweb/lib/myfaces-impl-2.0.1.jar and /dev/null differ
diff --git a/hsarweb/src/de/hsadmin/web/Bean.java b/hsarweb/src/de/hsadmin/web/Bean.java
deleted file mode 100644
index c58fc95..0000000
--- a/hsarweb/src/de/hsadmin/web/Bean.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package de.hsadmin.web;
-
-import java.text.DateFormat;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.ResourceBundle;
-
-import javax.faces.bean.ManagedBean;
-import javax.faces.bean.ManagedProperty;
-import javax.faces.bean.SessionScoped;
-
-@ManagedBean(name="hello")
-@SessionScoped
-public class Bean {
-
- public final static DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT);
-
- @ManagedProperty(value="#{context}")
- private Context context;
-
- @ManagedProperty(value="#{remote}")
- private Remote remote;
-
- public String getMessage() {
- Map where = new HashMap();
- where.put("name", context.getUser());
- String name = "Welt";
- try {
- Object test = remote.callSearch("user", context.getUser(), where);
- if (test instanceof Object[] && ((Object[])test).length > 0 ) {
- if (((Object[])test)[0] instanceof Map) {
- name = (String) ((Map, ?>)((Object[])test)[0]).get("comment");
- }
- }
- } catch (HsarwebException e) {
- e.printStackTrace();
- }
- return "Hallo " + name;
- }
-
- public String getTime() {
- return df.format(new Date());
- }
-
- public void setContext(Context context) {
- this.context = context;
- }
-
- public void setRemote(Remote remote) {
- this.remote = remote;
- }
-
-}
diff --git a/hsarweb/src/de/hsadmin/web/Context.java b/hsarweb/src/de/hsadmin/web/Context.java
deleted file mode 100644
index 7b257b1..0000000
--- a/hsarweb/src/de/hsadmin/web/Context.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package de.hsadmin.web;
-
-import javax.faces.bean.ManagedBean;
-import javax.faces.bean.SessionScoped;
-import javax.faces.context.ExternalContext;
-import javax.faces.context.FacesContext;
-
-import org.jasig.cas.client.authentication.AttributePrincipal;
-import org.jasig.cas.client.util.AbstractCasFilter;
-import org.jasig.cas.client.validation.Assertion;
-
-@ManagedBean(name="context")
-@SessionScoped
-public class Context {
-
- private ExternalContext getExternalContext() {
- return FacesContext.getCurrentInstance().getExternalContext();
- }
-
- private AttributePrincipal getPrincipal() {
- ExternalContext context = getExternalContext();
- Assertion assertion = (Assertion) context.getSessionMap().get(AbstractCasFilter.CONST_CAS_ASSERTION);
- return assertion.getPrincipal();
- }
-
- public String getUser() {
- return getPrincipal().getName();
- }
-
- public String getProxyTicket() {
- String backendURL = getContextParam("backendURL");
- return getPrincipal().getProxyTicketFor(backendURL);
- }
-
- public String getContextPath() {
- return getExternalContext().getRequestContextPath();
- }
-
- public String getContextParam(String name) {
- return getExternalContext().getInitParameter(name);
- }
-}
diff --git a/hsarweb/src/de/hsadmin/web/Domain.java b/hsarweb/src/de/hsadmin/web/Domain.java
deleted file mode 100644
index 1afd769..0000000
--- a/hsarweb/src/de/hsadmin/web/Domain.java
+++ /dev/null
@@ -1,106 +0,0 @@
-package de.hsadmin.web;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.faces.bean.ManagedBean;
-import javax.faces.bean.ManagedProperty;
-import javax.faces.bean.SessionScoped;
-import javax.faces.context.FacesContext;
-
-@ManagedBean(name="domain")
-@SessionScoped
-public class Domain {
-
- @ManagedProperty(value="#{context}")
- private Context context;
-
- @ManagedProperty(value="#{remote}")
- private Remote remote;
-
- @ManagedProperty(value="#{texts}")
- private Texts texts;
-
- private List