source: other-projects/trunk/gs3-release-maker/tasks/sshtaskdef/src/mindbright/ssh/SSHAuthenticator.java@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 1.7 KB
Line 
1/******************************************************************************
2 *
3 * Copyright (c) 1998,99 by Mindbright Technology AB, Stockholm, Sweden.
4 * www.mindbright.se, [email protected]
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 *****************************************************************************
17 * $Author: mats $
18 * $Date: 1999/08/22 13:57:53 $
19 * $Name: rel1-2-1 $
20 *****************************************************************************/
21package mindbright.ssh;
22
23import java.net.*;
24import java.io.*;
25
26import mindbright.security.RSAPublicKey;
27
28public interface SSHAuthenticator {
29 public String getUsername(SSHClientUser origin) throws IOException;
30 public String getPassword(SSHClientUser origin) throws IOException;
31 public String getChallengeResponse(SSHClientUser origin, String challenge) throws IOException;
32 public int[] getAuthTypes(SSHClientUser origin);
33 public int getCipher(SSHClientUser origin);
34 public SSHRSAKeyFile getIdentityFile(SSHClientUser origin) throws IOException;
35 public String getIdentityPassword(SSHClientUser origin) throws IOException;
36 public boolean verifyKnownHosts(RSAPublicKey hostPub) throws IOException;
37}
Note: See TracBrowser for help on using the repository browser.