net.lag.jaramiko
Class BadAuthenticationType

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by net.lag.jaramiko.SSHException
                  extended by net.lag.jaramiko.BadAuthenticationType
All Implemented Interfaces:
java.io.Serializable

public class BadAuthenticationType
extends SSHException

Exception raised when an authentication type (like password) is used, but the server isn't allowing that type. (It may only allow public-key, for example.)

See Also:
Serialized Form

Method Summary
 java.lang.String[] getAllowedTypes()
          Return the list of authentication types allowed by the server.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAllowedTypes

public java.lang.String[] getAllowedTypes()
Return the list of authentication types allowed by the server. Possible values are: "none", "password", and "publickey".

Returns:
the list of auth types allowed by the server

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable