Top Description Fields Constructors Methods
org.apache.sshd.server.auth.password

public Class PasswordChangeRequiredException

extends RuntimeException
Class Inheritance

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
RFC-4252 section 8 - SSH_MSG_USERAUTH_PASSWD_CHANGEREQ

Field Summary

Modifier and TypeField and Description
private final String
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public final String

Returns:

The language code for the prompt - may be null/empty
getLanguage
()

public final String

Returns:

The prompt to show to the user - may be null/empty
getPrompt
()

Field Detail

langback to summary
private final String lang
promptback to summary
private final String prompt
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Constructor Detail

PasswordChangeRequiredExceptionback to summary
public PasswordChangeRequiredException(String message, String prompt, String lang)
PasswordChangeRequiredExceptionback to summary
public PasswordChangeRequiredException(Throwable cause, String prompt, String lang)
PasswordChangeRequiredExceptionback to summary
public PasswordChangeRequiredException(String message, String prompt, String lang, Throwable cause)

Method Detail

getLanguageback to summary
public final String getLanguage()
Returns:String

The language code for the prompt - may be null/empty

getPromptback to summary
public final String getPrompt()
Returns:String

The prompt to show to the user - may be null/empty