You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "李飛 (JIRA)" <ji...@apache.org> on 2016/10/12 19:32:20 UTC

[jira] [Created] (SSHD-705) GSSAPI auth is breaken after changing username with getUserName()

李飛 created SSHD-705:
-----------------------

             Summary: GSSAPI auth is breaken after changing username with getUserName()
                 Key: SSHD-705
                 URL: https://issues.apache.org/jira/browse/SSHD-705
             Project: MINA SSHD
          Issue Type: Bug
            Reporter: 李飛


https://github.com/apache/mina-sshd/commit/d19f5eca5714b7055b8655a46aeba0629c9dc05a#diff-6632304d23a69cec2f1da01ee1b4eb8fL127

-                msgbuf.putString(username);
+                msgbuf.putString(getUserName());

https://github.com/apache/mina-sshd/commit/d19f5eca5714b7055b8655a46aeba0629c9dc05a#diff-6632304d23a69cec2f1da01ee1b4eb8fL185

-        return identity != null ? identity : username;
+        return identity != null ? identity : super.getUserName();

getUserName() is not equals with username when identity is not null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)