diff --git a/authenticator/.classpath b/authenticator/.classpath
deleted file mode 100644
index ad56917..0000000
--- a/authenticator/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/authenticator/.gitignore b/authenticator/.gitignore
deleted file mode 100644
index 2f230b7..0000000
--- a/authenticator/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/build
-/bin
\ No newline at end of file
diff --git a/authenticator/.project b/authenticator/.project
deleted file mode 100644
index 6cd9e3c..0000000
--- a/authenticator/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- authenticator
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/authenticator/.settings/org.eclipse.jdt.core.prefs b/authenticator/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index b2e1563..0000000
--- a/authenticator/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Tue Sep 07 14:25:06 CEST 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/authenticator/.settings/org.eclipse.jst.jsp.core.prefs b/authenticator/.settings/org.eclipse.jst.jsp.core.prefs
deleted file mode 100644
index cd0f548..0000000
--- a/authenticator/.settings/org.eclipse.jst.jsp.core.prefs
+++ /dev/null
@@ -1,30 +0,0 @@
-#Tue Sep 07 16:36:06 CEST 2010
-eclipse.preferences.version=1
-validateFragments=false
-validation.actions-missing-required-attribute=-1
-validation.actions-non-empty-inline-tag=-1
-validation.actions-unexpected-rtexprvalue=-1
-validation.actions-unknown-attribute=-1
-validation.directive-include-fragment-file-not-found=-1
-validation.directive-include-fragment-file-not-specified=-1
-validation.directive-taglib-duplicate-prefixes-different-uris=-1
-validation.directive-taglib-duplicate-prefixes-same-uris=-1
-validation.directive-taglib-missing-prefix=-1
-validation.directive-taglib-missing-uri-or-tagdir=-1
-validation.directive-taglib-unresolvable-uri-or-tagdir=-1
-validation.el-general-syntax=-1
-validation.el-lexical-failure=-1
-validation.java-=-1
-validation.java-local-variable-is-never-used=-1
-validation.java-null-local-variable-reference=-1
-validation.java-potential-null-local-variable-reference=-1
-validation.java-unused-import=-1
-validation.translation-tag-class-not-found=-1
-validation.translation-tei-class-not-found=-1
-validation.translation-tei-class-not-instantiated=-1
-validation.translation-tei-class-runtime-exception=-1
-validation.translation-tei-message=-1
-validation.translation-usebean-ambiguous-type-info=-1
-validation.translation-usebean-invalid-id=-1
-validation.translation-usebean-missing-type-info=-1
-validation.use-project-settings=true
diff --git a/authenticator/.settings/org.eclipse.wst.validation.prefs b/authenticator/.settings/org.eclipse.wst.validation.prefs
deleted file mode 100644
index 938a9d4..0000000
--- a/authenticator/.settings/org.eclipse.wst.validation.prefs
+++ /dev/null
@@ -1,18 +0,0 @@
-#Tue Sep 07 16:37:46 CEST 2010
-DELEGATES_PREFERENCE=delegateValidatorList
-USER_BUILD_PREFERENCE=enabledBuildValidatorList
-USER_MANUAL_PREFERENCE=enabledManualValidatorList
-USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationtrueversion1.2.200.v201005271900
-eclipse.preferences.version=1
-override=true
-suspend=true
-vals/org.eclipse.jst.jsp.core.JSPBatchValidator/global=FF01
-vals/org.eclipse.jst.jsp.core.JSPContentValidator/global=FF01
-vals/org.eclipse.jst.jsp.core.TLDValidator/global=FF01
-vals/org.eclipse.wst.dtd.core.dtdDTDValidator/global=FF01
-vals/org.eclipse.wst.html.ui.HTMLValidator/global=FF01
-vals/org.eclipse.wst.wsdl.validation.wsdl/global=FF02158org.eclipse.wst.wsdl.validation.internal.eclipse.Validator
-vals/org.eclipse.wst.xml.core.xml/global=FF03
-vals/org.eclipse.wst.xsd.core.xsd/global=FF02162org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator
-vals/org.eclipse.wst.xsl.core.xsl/global=FF02
-vf.version=3
diff --git a/authenticator/.settings/org.eclipse.wst.xsl.core.prefs b/authenticator/.settings/org.eclipse.wst.xsl.core.prefs
deleted file mode 100644
index cf6206b..0000000
--- a/authenticator/.settings/org.eclipse.wst.xsl.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Tue Sep 07 16:36:08 CEST 2010
-CHECK_CALL_TEMPLATES=2
-CHECK_XPATHS=2
-CIRCULAR_REF=2
-DUPLICATE_PARAMETER=2
-EMPTY_PARAM=1
-MISSING_INCLUDE=2
-MISSING_PARAM=1
-NAME_ATTRIBUTE_EMPTY=2
-NAME_ATTRIBUTE_MISSING=2
-TEMPLATE_CONFLICT=2
-eclipse.preferences.version=1
diff --git a/authenticator/build.xml b/authenticator/build.xml
deleted file mode 100644
index f0346c7..0000000
--- a/authenticator/build.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/authenticator/lib/cas-server-core-3.4.2.1.jar b/authenticator/lib/cas-server-core-3.4.2.1.jar
deleted file mode 100644
index 0dda4b6..0000000
Binary files a/authenticator/lib/cas-server-core-3.4.2.1.jar and /dev/null differ
diff --git a/authenticator/lib/commons-codec-1.4.jar b/authenticator/lib/commons-codec-1.4.jar
deleted file mode 100644
index 458d432..0000000
Binary files a/authenticator/lib/commons-codec-1.4.jar and /dev/null differ
diff --git a/authenticator/src/de/hsadmin/cas/SmtpAuthenticator.java b/authenticator/src/de/hsadmin/cas/SmtpAuthenticator.java
deleted file mode 100644
index f1f5596..0000000
--- a/authenticator/src/de/hsadmin/cas/SmtpAuthenticator.java
+++ /dev/null
@@ -1,143 +0,0 @@
-package de.hsadmin.cas;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.OutputStreamWriter;
-import java.io.Writer;
-import java.net.Socket;
-import java.net.UnknownHostException;
-import java.security.KeyManagementException;
-import java.security.NoSuchAlgorithmException;
-
-import javax.net.ssl.SSLContext;
-import javax.net.ssl.SSLSocketFactory;
-
-import org.apache.commons.codec.binary.Base64;
-import org.jasig.cas.authentication.handler.AuthenticationException;
-import org.jasig.cas.authentication.handler.AuthenticationHandler;
-import org.jasig.cas.authentication.principal.Credentials;
-import org.jasig.cas.authentication.principal.UsernamePasswordCredentials;
-
-public class SmtpAuthenticator implements AuthenticationHandler {
-
- private static final int SMTPS_PORT = 465;
-
- public boolean authenticate(Credentials creds)
- throws AuthenticationException {
- UsernamePasswordCredentials ucreds = (UsernamePasswordCredentials) creds;
- try {
- return isAuthenticated(ucreds.getUsername(), ucreds.getPassword());
- } catch (SmtpAuthException e) {
- return false;
- }
- }
-
- public boolean supports(Credentials creds) {
- return creds instanceof UsernamePasswordCredentials;
- }
-
- public boolean isAuthenticated(String user, String passwd)
- throws SmtpAuthException {
- boolean isAuth = false;
- Socket socket = null;
- try {
- SSLContext sc = SSLContext.getInstance("SSLv3");
- sc.init(null, null, null);
- SSLSocketFactory ssf = sc.getSocketFactory();
- if ( user == null || user.length() < 2 || user.length() == 4 ) {
- return false;
- }
- if (user.indexOf('@') > 0) {
- return false;
- }
- try {
- if (user.length() == 2) {
- user = "hsh01-" + user;
- }
- if (user.length() == 3) {
- user = "hsh00-" + user;
- }
- socket = ssf.createSocket(user.substring(0, 5)
- + ".hostsharing.net", SMTPS_PORT);
- } catch (StringIndexOutOfBoundsException e) {
- return false;
- }
- Writer out = new OutputStreamWriter(socket.getOutputStream(),
- "ISO-8859-1");
- BufferedReader sin = new BufferedReader(new InputStreamReader(
- socket.getInputStream(), "ISO-8859-1"));
- write(out, "EHLO login.hostsharing.net\r\n");
- String answer = read(sin, "220 ");
- answer = read(sin, "250-");
- StringBuffer userPasswd = new StringBuffer();
- userPasswd.append('\000');
- userPasswd.append(user);
- userPasswd.append('\000');
- userPasswd.append(passwd);
- write(out, "AUTH PLAIN "
- + new String(Base64.encodeBase64(userPasswd.toString().getBytes())) + "\r\n");
- answer = read(sin, "000");
- isAuth = answer.startsWith("235");
- write(out, "QUIT\r\n");
- } catch (NoSuchAlgorithmException e) {
- throw new SmtpAuthException(e.getMessage());
- } catch (KeyManagementException e) {
- throw new SmtpAuthException(e.getMessage());
- } catch (UnknownHostException e) {
- throw new SmtpAuthException(e.getMessage());
- } catch (IOException e) {
- throw new SmtpAuthException(e.getMessage());
- } finally {
- if (socket != null) {
- try {
- socket.close();
- } catch (IOException e) {
- }
- }
- }
- return isAuth;
- }
-
- private void write(Writer wr, String line) {
- try {
- wr.write(line);
- wr.flush();
- } catch (IOException e) {
- }
- }
-
- private String read(BufferedReader rd, String returnCode) {
- try {
- String line = rd.readLine();
- while (line != null && line.startsWith(returnCode)) {
- line = rd.readLine();
- }
- return line;
- } catch (IOException e) {
- }
- return "";
- }
-
- public class SmtpAuthException extends Exception {
-
- private static final long serialVersionUID = 2394310295147904537L;
-
- public SmtpAuthException(String message) {
- super(message);
- }
- }
-
- public static void main(String[] args) {
- SmtpAuthenticator auth = new SmtpAuthenticator();
- try {
- if (auth.isAuthenticated(args[0], args[1])) {
- System.out.println("Login " + args[0] + " Ok");
- } else {
- System.out.println("Falsches Login");
- }
- } catch (SmtpAuthException e) {
- System.out.println(e.getMessage());
- }
- }
-}
diff --git a/authenticator/webapp/WEB-INF/cas.properties b/authenticator/webapp/WEB-INF/cas.properties
deleted file mode 100644
index 560b01b..0000000
--- a/authenticator/webapp/WEB-INF/cas.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-cas.securityContext.serviceProperties.service=http://login.hostsharing.net/cas/services/j_acegi_cas_security_check
-# Names of roles allowed to access the CAS service manager
-cas.securityContext.serviceProperties.adminRoles=ROLE_ADMIN
-cas.securityContext.casProcessingFilterEntryPoint.loginUrl=http://login.hostsharing.net/cas/login
-cas.securityContext.ticketValidator.casServerUrlPrefix=http://login.hostsharing.net/cas
-cas.themeResolver.defaultThemeName=hostsharing
-cas.viewResolver.basename=hostsharing_views
-host.name=login.hostsharing.net
-#database.hibernate.dialect=org.hibernate.dialect.OracleDialect
-#database.hibernate.dialect=org.hibernate.dialect.MySQLDialect
-database.hibernate.dialect=org.hibernate.dialect.HSQLDialect
diff --git a/authenticator/webapp/WEB-INF/classes/de/hsadmin/cas/SmtpAuthenticator$SmtpAuthException.class b/authenticator/webapp/WEB-INF/classes/de/hsadmin/cas/SmtpAuthenticator$SmtpAuthException.class
deleted file mode 100644
index 3bf3954..0000000
Binary files a/authenticator/webapp/WEB-INF/classes/de/hsadmin/cas/SmtpAuthenticator$SmtpAuthException.class and /dev/null differ
diff --git a/authenticator/webapp/WEB-INF/classes/de/hsadmin/cas/SmtpAuthenticator.class b/authenticator/webapp/WEB-INF/classes/de/hsadmin/cas/SmtpAuthenticator.class
deleted file mode 100644
index c70dab4..0000000
Binary files a/authenticator/webapp/WEB-INF/classes/de/hsadmin/cas/SmtpAuthenticator.class and /dev/null differ
diff --git a/authenticator/webapp/WEB-INF/classes/hostsharing.properties b/authenticator/webapp/WEB-INF/classes/hostsharing.properties
deleted file mode 100644
index d4cdf0c..0000000
--- a/authenticator/webapp/WEB-INF/classes/hostsharing.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-mobile.custom.css.file=css/default-mobile-custom.css
-standard.custom.css.file=themes/hostsharing/cas.css
diff --git a/authenticator/webapp/WEB-INF/classes/hostsharing_views.properties b/authenticator/webapp/WEB-INF/classes/hostsharing_views.properties
deleted file mode 100644
index ee03dbf..0000000
--- a/authenticator/webapp/WEB-INF/classes/hostsharing_views.properties
+++ /dev/null
@@ -1,38 +0,0 @@
-### Login view (/login)
-casLoginView.(class)=org.springframework.web.servlet.view.JstlView
-casLoginView.url=/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp
-
-### Login confirmation view (logged in, warn=true)
-casLoginConfirmView.(class)=org.springframework.web.servlet.view.JstlView
-casLoginConfirmView.url=/WEB-INF/view/jsp/hostsharing/ui/casConfirmView.jsp
-
-### Logged-in view (logged in, no service provided)
-casLoginGenericSuccessView.(class)=org.springframework.web.servlet.view.JstlView
-casLoginGenericSuccessView.url=/WEB-INF/view/jsp/hostsharing/ui/casGenericSuccess.jsp
-
-### Logout view (/logout)
-casLogoutView.(class)=org.springframework.web.servlet.view.JstlView
-casLogoutView.url=/WEB-INF/view/jsp/hostsharing/ui/casLogoutView.jsp
-
-### CAS error view
-viewServiceErrorView.(class)=org.springframework.web.servlet.view.JstlView
-viewServiceErrorView.url=/WEB-INF/view/jsp/hostsharing/ui/serviceErrorView.jsp
-
-viewServiceSsoErrorView.(class)=org.springframework.web.servlet.view.JstlView
-viewServiceSsoErrorView.url=/WEB-INF/view/jsp/hostsharing/ui/serviceErrorSsoView.jsp
-
-### Services Management Views
-addServiceView.(class)=org.springframework.web.servlet.view.JstlView
-addServiceView.url=/WEB-INF/view/jsp/services/add.jsp
-
-editServiceView.(class)=org.springframework.web.servlet.view.JstlView
-editServiceView.url=/WEB-INF/view/jsp/services/add.jsp
-
-manageServiceView.(class)=org.springframework.web.servlet.view.JstlView
-manageServiceView.url=/WEB-INF/view/jsp/services/manage.jsp
-
-serviceLogoutView.(class)=org.springframework.web.servlet.view.JstlView
-serviceLogoutView.url=/WEB-INF/view/jsp/services/logout.jsp
-
-viewStatisticsView.(class)=org.springframework.web.servlet.view.JstlView
-viewStatisticsView.url=/WEB-INF/view/jsp/services/viewStatistics.jsp
diff --git a/authenticator/webapp/WEB-INF/deployerConfigContext.xml b/authenticator/webapp/WEB-INF/deployerConfigContext.xml
deleted file mode 100644
index c7d7ff9..0000000
--- a/authenticator/webapp/WEB-INF/deployerConfigContext.xml
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casBlockedView.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casBlockedView.jsp
deleted file mode 100644
index b393635..0000000
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casBlockedView.jsp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casConfirmView.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casConfirmView.jsp
deleted file mode 100644
index 2462394..0000000
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casConfirmView.jsp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casGenericSuccess.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casGenericSuccess.jsp
deleted file mode 100644
index 9f0d0de..0000000
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casGenericSuccess.jsp
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp
deleted file mode 100644
index 0bad0b3..0000000
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLoginView.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%@ page contentType="text/html; charset=UTF-8" %>
-
-
-
-
-
Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein.
-
-
-
- ${sessionScope.openIdLocalId}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- " tabindex="4" type="submit" />
- " tabindex="5" type="reset" />
-
-
-
-
-
diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLogoutView.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLogoutView.jsp
deleted file mode 100644
index 79ac2bc..0000000
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/casLogoutView.jsp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/includes/bottom.jsp b/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/includes/bottom.jsp
deleted file mode 100644
index c010c6f..0000000
--- a/authenticator/webapp/WEB-INF/view/jsp/hostsharing/ui/includes/bottom.jsp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-