Class PasswordChangeRequiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sshd.server.auth.password.PasswordChangeRequiredException
All Implemented Interfaces:
Serializable

public class PasswordChangeRequiredException extends RuntimeException
A special exception that can be thrown by the PasswordAuthenticator to indicate that the password requires changing or is not string enough
Author:
Apache MINA SSHD Project
See Also:
  • Constructor Details

    • PasswordChangeRequiredException

      public PasswordChangeRequiredException(String message, String prompt, String lang)
    • PasswordChangeRequiredException

      public PasswordChangeRequiredException(Throwable cause, String prompt, String lang)
    • PasswordChangeRequiredException

      public PasswordChangeRequiredException(String message, String prompt, String lang, Throwable cause)
  • Method Details

    • getPrompt

      public final String getPrompt()
      Returns:
      The prompt to show to the user - may be null/empty
    • getLanguage

      public final String getLanguage()
      Returns:
      The language code for the prompt - may be null/empty