com.maverick.sshd
Interface AuthenticationMechanismFactory

All Known Implementing Classes:
AllowNoneAuthenticationMechanismFactory, DefaultAuthenticationMechanismFactory

public interface AuthenticationMechanismFactory


Field Summary
static String KEYBOARD_INTERACTIVE_AUTHENTICATION
           
static String NONE
           
static String PASSWORD_AUTHENTICATION
           
static String PUBLICKEY_AUTHENTICATION
           
 
Method Summary
 AuthenticationMechanism createInstance(String name, org.apache.mina.core.session.IoSession session, SshTransport transport, AuthenticationProtocol authentication, Connection con)
           
 String[] getSupportedMechanisms()
           
 

Field Detail

NONE

static final String NONE
See Also:
Constant Field Values

PASSWORD_AUTHENTICATION

static final String PASSWORD_AUTHENTICATION
See Also:
Constant Field Values

PUBLICKEY_AUTHENTICATION

static final String PUBLICKEY_AUTHENTICATION
See Also:
Constant Field Values

KEYBOARD_INTERACTIVE_AUTHENTICATION

static final String KEYBOARD_INTERACTIVE_AUTHENTICATION
See Also:
Constant Field Values
Method Detail

createInstance

AuthenticationMechanism createInstance(String name,
                                       org.apache.mina.core.session.IoSession session,
                                       SshTransport transport,
                                       AuthenticationProtocol authentication,
                                       Connection con)
                                       throws UnsupportedChannelException
Throws:
UnsupportedChannelException

getSupportedMechanisms

String[] getSupportedMechanisms()


Copyright © 2012. All Rights Reserved.