summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/process/Gateway.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-06-02 16:52:49 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-06-02 16:52:49 +0200
commit28f6763508612fadcc34d87cff383e6a5aef2ad6 (patch)
tree2e3e7b6978fc127c19b0189eeca515284521d1e6 /src/main/java/com/c2kernel/process/Gateway.java
parentb96dd998d6c442be19c342399839896d00d4b6f5 (diff)
more
Diffstat (limited to 'src/main/java/com/c2kernel/process/Gateway.java')
-rw-r--r--src/main/java/com/c2kernel/process/Gateway.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/c2kernel/process/Gateway.java b/src/main/java/com/c2kernel/process/Gateway.java
index 9fe51a0..0c97a77 100644
--- a/src/main/java/com/c2kernel/process/Gateway.java
+++ b/src/main/java/com/c2kernel/process/Gateway.java
@@ -153,6 +153,9 @@ public class Gateway
// check top level directory contexts
mLookup.initializeDirectory();
+ // init next key manager
+ mNextKeyManager = (NextKeyManager)mC2KProps.getInstance("NextKeyManager");
+
// start entity proxy server
mProxyServer = new ProxyServer(mC2KProps.getProperty("ItemServer.name"));
@@ -230,7 +233,7 @@ public class Gateway
* @throws IllegalAccessException
* @throws InstantiationException
*/
- static public AgentProxy connect(String resource, String agentName, String agentPassword)
+ static public AgentProxy connect(String agentName, String agentPassword, String resource)
throws InvalidDataException, ObjectNotFoundException, ClusterStorageException, InstantiationException, IllegalAccessException, ClassNotFoundException
{
Authenticator auth = (Authenticator)mC2KProps.getInstance("Authenticator");