You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2018/04/26 00:43:14 UTC

[airavata] branch staging updated: Returning empty list in getSubmethods of AuthKeyboardInteractive

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 796ecbb  Returning empty list in getSubmethods of AuthKeyboardInteractive
796ecbb is described below

commit 796ecbb745b359390f82642529edbc82a09342ea
Author: dimuthu <di...@gmail.com>
AuthorDate: Wed Apr 25 20:43:04 2018 -0400

    Returning empty list in getSubmethods of AuthKeyboardInteractive
---
 .../main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
index 9b3d18c..302a743 100644
--- a/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
+++ b/modules/airavata-helix/agent-impl/sshj-agent/src/main/java/org/apache/airavata/helix/adaptor/SSHJAgentAdaptor.java
@@ -43,6 +43,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import java.io.IOException;
+import java.util.ArrayList;
 import java.util.LinkedList;
 import java.util.List;
 import java.util.stream.Collectors;
@@ -72,7 +73,7 @@ public class SSHJAgentAdaptor implements AgentAdaptor {
         am.add(new AuthKeyboardInteractive(new ChallengeResponseProvider() {
             @Override
             public List<String> getSubmethods() {
-                return null;
+                return new ArrayList<>();
             }
 
             @Override

-- 
To stop receiving notification emails like this one, please contact
dimuthuupe@apache.org.