public class PasswordKeyboardInteractiveProvider extends Object implements KeyboardInteractiveProvider
Constructor and Description |
---|
PasswordKeyboardInteractiveProvider() |
PasswordKeyboardInteractiveProvider(PasswordAuthenticationProvider[] providers,
Connection<SshServerContext> con) |
Modifier and Type | Method and Description |
---|---|
protected String |
getChangePasswordFailed(String username) |
protected String |
getChangePasswordInstructions(String username) |
protected String |
getChangePasswordMismatch(String username) |
protected String |
getConfirmPasswordPrompt() |
String |
getInstruction() |
protected String |
getInstructions(String username) |
String |
getName() |
protected String |
getNewPasswordPrompt() |
protected String |
getPasswordPrompt() |
boolean |
hasAuthenticated() |
KBIPrompt[] |
init(Connection<SshServerContext> con,
KeyboardInteractiveAuthentication auth) |
KBIPrompt[] |
setResponse(String[] answers) |
public PasswordKeyboardInteractiveProvider()
public PasswordKeyboardInteractiveProvider(PasswordAuthenticationProvider[] providers, Connection<SshServerContext> con)
public boolean hasAuthenticated()
hasAuthenticated
in interface KeyboardInteractiveProvider
public KBIPrompt[] setResponse(String[] answers)
setResponse
in interface KeyboardInteractiveProvider
public KBIPrompt[] init(Connection<SshServerContext> con, KeyboardInteractiveAuthentication auth)
init
in interface KeyboardInteractiveProvider
public String getInstruction()
getInstruction
in interface KeyboardInteractiveProvider
public String getName()
getName
in interface KeyboardInteractiveProvider
protected String getPasswordPrompt()
protected String getConfirmPasswordPrompt()
protected String getNewPasswordPrompt()
Copyright © 2016. All rights reserved.