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
A special exception that can be thrown by the
PasswordAuthenticator
to indicate that the password requires
changing or is not string enough-
Constructor Summary
ConstructorDescriptionPasswordChangeRequiredException
(String message, String prompt, String lang) PasswordChangeRequiredException
(String message, String prompt, String lang, Throwable cause) PasswordChangeRequiredException
(Throwable cause, String prompt, String lang) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PasswordChangeRequiredException
-
PasswordChangeRequiredException
-
PasswordChangeRequiredException
-
-
Method Details
-
getPrompt
- Returns:
- The prompt to show to the user - may be
null
/empty
-
getLanguage
- Returns:
- The language code for the prompt - may be
null
/empty
-