com.sshtools.j2ssh.authentication

Class SshMsgUserAuthFailure


public class SshMsgUserAuthFailure
extends SshMessage

Version:
$Revision: 1.23 $
Author:
$author$

Field Summary

protected static int
SSH_MSG_USERAUTH_FAILURE

Constructor Summary

SshMsgUserAuthFailure()
Creates a new SshMsgUserAuthFailure object.
SshMsgUserAuthFailure(String auths, boolean partialSuccess)
Creates a new SshMsgUserAuthFailure object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
List
getAvailableAuthentications()
String
getMessageName()
boolean
getPartialSuccess()

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

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

Field Details

SSH_MSG_USERAUTH_FAILURE

protected static final int SSH_MSG_USERAUTH_FAILURE
Field Value:
51

Constructor Details

SshMsgUserAuthFailure

public SshMsgUserAuthFailure()
Creates a new SshMsgUserAuthFailure object.

SshMsgUserAuthFailure

public SshMsgUserAuthFailure(String auths,
                             boolean partialSuccess)
            throws InvalidMessageException
Creates a new SshMsgUserAuthFailure object.
Parameters:
auths -
partialSuccess -

Method Details

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 -

getAvailableAuthentications

public List getAvailableAuthentications()
Returns:

getMessageName

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

getPartialSuccess

public boolean getPartialSuccess()
Returns:

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