From f00a188f91f7bd096e45c594f2738b9456e2e53e Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Tue, 26 Jun 2007 10:32:39 +0000
Subject: [PATCH] CrowdAuthenticationService refactored to make it testable

SVN: 686
---
 .../crowd/IRequestExecutor.java               | 30 +++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 authentication/source/java/ch/systemsx/cisd/authentication/crowd/IRequestExecutor.java

diff --git a/authentication/source/java/ch/systemsx/cisd/authentication/crowd/IRequestExecutor.java b/authentication/source/java/ch/systemsx/cisd/authentication/crowd/IRequestExecutor.java
new file mode 100644
index 00000000000..8b7648c7389
--- /dev/null
+++ b/authentication/source/java/ch/systemsx/cisd/authentication/crowd/IRequestExecutor.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2007 ETH Zuerich, CISD
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package ch.systemsx.cisd.authentication.crowd;
+
+/**
+ * Interface of classes executing requests.
+ *
+ * @author Franz-Josef Elmer
+ */
+interface IRequestExecutor
+{   
+    /**
+     * Executes the specified message at the specified service.
+     */
+    public String execute(String serviceUrl, String message);
+}
-- 
GitLab