Secure iNet Factory

com.jscape.inet.ssh.authentication
Class RequestFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.jscape.inet.ssh.authentication.AuthenticationException
                  extended by com.jscape.inet.ssh.authentication.RequestFailureException
All Implemented Interfaces:
java.io.Serializable

public class RequestFailureException
extends AuthenticationException

Represents SSH user authentication request error.

Version:
1.0
Author:
Alex Usun
See Also:
Serialized Form

Constructor Summary
RequestFailureException(SshMsgUserauthFailure response)
          Creates a new exception instance with specified server response.
 
Method Summary
 java.lang.String[] getAuthenticationList()
          Obtains the available authentication methods list.
 boolean partialSuccess()
          Checks if the authentication attemt was successful.
 
Methods inherited from class com.jscape.inet.ssh.authentication.AuthenticationException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestFailureException

public RequestFailureException(SshMsgUserauthFailure response)
Creates a new exception instance with specified server response.

Parameters:
response - server response
Method Detail

getAuthenticationList

public java.lang.String[] getAuthenticationList()
Obtains the available authentication methods list.

Returns:
the available authentication methods list

partialSuccess

public boolean partialSuccess()
Checks if the authentication attemt was successful.

Returns:
true if the attemt was successful; false otherwise

Secure iNet Factory

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