doAuthenticate() method doesn't need to be protected
| | |
| | | return result; |
| | | } |
| | | |
| | | protected boolean doAuthenticate(String username, PublicKey suppliedKey, |
| | | private boolean doAuthenticate(String username, PublicKey suppliedKey, |
| | | ServerSession session) { |
| | | SshDaemonClient client = session.getAttribute(SshDaemonClient.KEY); |
| | | Preconditions.checkState(client.getUser() == null); |
| | |
| | | } |
| | | } |
| | | |
| | | log.warn( |
| | | "could not authenticate {} for SSH using the supplied public key", |
| | | log.warn("could not authenticate {} for SSH using the supplied public key", |
| | | username); |
| | | return false; |
| | | } |