com.enterprisedt.net.ftp.ssh
Interface PasswordChanger

All Superinterfaces:
com.enterprisedt.net.j2ssh.authentication.PasswordChangePrompt

public interface PasswordChanger
extends com.enterprisedt.net.j2ssh.authentication.PasswordChangePrompt

Interface for password change implementations.

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Method Summary
 int getMaxChangeAttempts()
          Get the maximum number of times the password can be changed
 java.lang.String getNewPassword(java.lang.String prompt)
          Get a new password, probably generated
 

Method Detail

getNewPassword

java.lang.String getNewPassword(java.lang.String prompt)
Get a new password, probably generated

Specified by:
getNewPassword in interface com.enterprisedt.net.j2ssh.authentication.PasswordChangePrompt
Parameters:
prompt - prompt supplied by the SSH server
Returns:
new password

getMaxChangeAttempts

int getMaxChangeAttempts()
Get the maximum number of times the password can be changed

Specified by:
getMaxChangeAttempts in interface com.enterprisedt.net.j2ssh.authentication.PasswordChangePrompt
Returns:
max changes


Copyright © 2001-2011 Enterprise Distributed Technologies Ltd. All Rights Reserved.