com.sshtools.j2ssh.authentication

Class SshMsgUserAuthInfoRequest


public class SshMsgUserAuthInfoRequest
extends SshMessage

Version:
$Revision: 1.16 $
Author:
$author$

Field Summary

static int
SSH_MSG_USERAUTH_INFO_REQUEST

Constructor Summary

SshMsgUserAuthInfoRequest()
Creates a new SshMsgUserAuthInfoRequest object.
SshMsgUserAuthInfoRequest(String name, String instruction, String langtag)
Creates a new SshMsgUserAuthInfoRequest object.

Method Summary

void
addPrompt(String prompt, boolean echo)
protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
String
getInstruction()
String
getLanguageTag()
String
getMessageName()
String
getName()
KBIPrompt[]
getPrompts()

Methods inherited from class com.sshtools.j2ssh.transport.SshMessage

constructByteArray, constructMessage, fromByteArray, getMessageId, getMessageId, getMessageName, toByteArray

Field Details

SSH_MSG_USERAUTH_INFO_REQUEST

public static final int SSH_MSG_USERAUTH_INFO_REQUEST
Field Value:
60

Constructor Details

SshMsgUserAuthInfoRequest

public SshMsgUserAuthInfoRequest()
Creates a new SshMsgUserAuthInfoRequest object.

SshMsgUserAuthInfoRequest

public SshMsgUserAuthInfoRequest(String name,
                                 String instruction,
                                 String langtag)
Creates a new SshMsgUserAuthInfoRequest object.
Parameters:
name -
instruction -
langtag -

Method Details

addPrompt

public void addPrompt(String prompt,
                      boolean echo)
Parameters:
prompt -
echo -

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
            throws InvalidMessageException
Overrides:
constructByteArray in interface SshMessage
Parameters:
baw -

constructMessage

protected void constructMessage(ByteArrayReader bar)
            throws InvalidMessageException
Overrides:
constructMessage in interface SshMessage
Parameters:
bar -

getInstruction

public String getInstruction()
Returns:

getLanguageTag

public String getLanguageTag()
Returns:

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SshMessage
Returns:

getName

public String getName()
Returns:

getPrompts

public KBIPrompt[] getPrompts()
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.