Secure iNet Factory

com.jscape.inet.ssh.authentication.messages
Class SshMsgUserauthFailure

java.lang.Object
  extended by com.jscape.inet.ssh.transport.Message
      extended by com.jscape.inet.ssh.authentication.messages.SshMsgUserauthFailure

public final class SshMsgUserauthFailure
extends Message

Represents SSH_MSG_USERAUTH_FAILURE type of SSH2 protocol messages.

Version:
1.0
Author:
Alex

Field Summary
static int TYPE
          Field TYPE
 
Constructor Summary
SshMsgUserauthFailure(java.lang.String[] authenticationList, boolean partialSuccess)
          Creates message giving corresponded attributes.
 
Method Summary
 java.lang.String[] getAuthenticationList()
          Returns list of acceptable authentication methods.
 boolean partialSuccess()
          Returns partial success flag.
static SshMsgUserauthFailure readFrom(java.io.InputStream in)
           
 java.lang.String toString()
          Returns the string representation of this message.
 void writeTo(java.io.OutputStream out)
           
 
Methods inherited from class com.jscape.inet.ssh.transport.Message
getId, getType, readFrom, readFrom, setId, writeTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
Field TYPE

See Also:
Constant Field Values
Constructor Detail

SshMsgUserauthFailure

public SshMsgUserauthFailure(java.lang.String[] authenticationList,
                             boolean partialSuccess)
Creates message giving corresponded attributes.

Parameters:
authenticationList - list of acceptable authentication methods.
partialSuccess - partial success flag.
Method Detail

readFrom

public static SshMsgUserauthFailure readFrom(java.io.InputStream in)
                                      throws java.io.IOException
Parameters:
in -
Returns:
SshMsgUserauthFailure instance
Throws:
java.io.IOException

getAuthenticationList

public java.lang.String[] getAuthenticationList()
Returns list of acceptable authentication methods.

Returns:
list of acceptable authentication methods.

partialSuccess

public boolean partialSuccess()
Returns partial success flag.

Returns:
true if authentication was partial successful.

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Overrides:
writeTo in class Message
Parameters:
out -
Throws:
java.io.IOException

toString

public java.lang.String toString()
Returns the string representation of this message.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this message

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved