com.maverick.sshd.auth
Class PasswordKeyboardInteractiveProvider

java.lang.Object
  extended by com.maverick.sshd.auth.PasswordKeyboardInteractiveProvider
All Implemented Interfaces:
KeyboardInteractiveProvider

public class PasswordKeyboardInteractiveProvider
extends Object
implements KeyboardInteractiveProvider


Constructor Summary
PasswordKeyboardInteractiveProvider(PasswordAuthenticationProvider[] passwordProviders)
           
 
Method Summary
 String getInstruction()
           
 String getName()
           
 boolean hasAuthenticated()
           
 com.maverick.ssh.KBIPrompt[] init(String username, KeyboardInteractiveAuthentication auth)
           
 boolean isPassword()
           
 com.maverick.ssh.KBIPrompt[] setResponse(String[] answers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordKeyboardInteractiveProvider

public PasswordKeyboardInteractiveProvider(PasswordAuthenticationProvider[] passwordProviders)
Method Detail

hasAuthenticated

public boolean hasAuthenticated()
Specified by:
hasAuthenticated in interface KeyboardInteractiveProvider

setResponse

public com.maverick.ssh.KBIPrompt[] setResponse(String[] answers)
Specified by:
setResponse in interface KeyboardInteractiveProvider

init

public com.maverick.ssh.KBIPrompt[] init(String username,
                                         KeyboardInteractiveAuthentication auth)
Specified by:
init in interface KeyboardInteractiveProvider

getInstruction

public String getInstruction()
Specified by:
getInstruction in interface KeyboardInteractiveProvider

getName

public String getName()
Specified by:
getName in interface KeyboardInteractiveProvider

isPassword

public boolean isPassword()
Specified by:
isPassword in interface KeyboardInteractiveProvider


Copyright © 2012. All Rights Reserved.