diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2014-06-06 17:14:26 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2014-06-06 17:14:26 +0200 |
| commit | 2353f4fc4252f7067478d6a9d8993daeb5d66e6a (patch) | |
| tree | ff91be0ec9cb0bee78c7852c3de9729e287a6e6c /src/main/java/com/c2kernel/process/auth/ProxyLogin.java | |
| parent | c24371653c0a1608893faf29f25069947a9f1e96 (diff) | |
Partial javadoc and scope tightening of the new interfaces.
Diffstat (limited to 'src/main/java/com/c2kernel/process/auth/ProxyLogin.java')
| -rw-r--r-- | src/main/java/com/c2kernel/process/auth/ProxyLogin.java | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/main/java/com/c2kernel/process/auth/ProxyLogin.java b/src/main/java/com/c2kernel/process/auth/ProxyLogin.java index 94416cf..665158c 100644 --- a/src/main/java/com/c2kernel/process/auth/ProxyLogin.java +++ b/src/main/java/com/c2kernel/process/auth/ProxyLogin.java @@ -4,9 +4,18 @@ import java.util.Properties; import com.c2kernel.entity.proxy.AgentProxy;
+/**
+ * This interface is used by client processes to implement alternative login
+ * mechanisms aside from the standard username and password. Implementations may
+ * synchronize Agents with an external user library, such as Active Directory.
+ * Implementations are expected to set up the Gateway process and its
+ * authenticated components itself.
+ *
+ */
public interface ProxyLogin {
- public void initialize(Properties props) throws Exception;
- public AgentProxy authenticate(String resource) throws Exception;
-
+ public void initialize(Properties props) throws Exception;
+
+ public AgentProxy authenticate(String resource) throws Exception;
+
}
|
