From 945a7705bba34b7f5846892b2102778f1efb29ab Mon Sep 17 00:00:00 2001 From: Igor Vinokur Date: Mon, 16 Sep 2019 09:04:42 +0300 Subject: [PATCH] Add Ssh Api methods to list of allowed requests signed with machine token Signed-off-by: Igor Vinokur --- .../machine/authentication/server/MachineAuthModule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/multiuser/machine-auth/che-multiuser-machine-authentication/src/main/java/org/eclipse/che/multiuser/machine/authentication/server/MachineAuthModule.java b/multiuser/machine-auth/che-multiuser-machine-authentication/src/main/java/org/eclipse/che/multiuser/machine/authentication/server/MachineAuthModule.java index b2c517be02c..4a3826dbe28 100644 --- a/multiuser/machine-auth/che-multiuser-machine-authentication/src/main/java/org/eclipse/che/multiuser/machine/authentication/server/MachineAuthModule.java +++ b/multiuser/machine-auth/che-multiuser-machine-authentication/src/main/java/org/eclipse/che/multiuser/machine/authentication/server/MachineAuthModule.java @@ -62,7 +62,9 @@ protected void configure() { "stop")); machineAuthenticatedResources .addBinding() - .toInstance(new MachineAuthenticatedResource("/ssh", "getPair", "generatePair")); + .toInstance( + new MachineAuthenticatedResource( + "/ssh", "getPair", "generatePair", "createPair", "getPairs", "removePair")); machineAuthenticatedResources .addBinding() .toInstance(