com.maverick.sshd.auth
Class AllowNoneAuthenticationMechanismFactory

java.lang.Object
  extended by com.maverick.sshd.auth.DefaultAuthenticationMechanismFactory
      extended by com.maverick.sshd.auth.AllowNoneAuthenticationMechanismFactory
All Implemented Interfaces:
AuthenticationMechanismFactory

public class AllowNoneAuthenticationMechanismFactory
extends DefaultAuthenticationMechanismFactory


Field Summary
 
Fields inherited from class com.maverick.sshd.auth.DefaultAuthenticationMechanismFactory
passwordProviders, publickeyProviders, supportedMechanisms
 
Fields inherited from interface com.maverick.sshd.AuthenticationMechanismFactory
KEYBOARD_INTERACTIVE_AUTHENTICATION, NONE, PASSWORD_AUTHENTICATION, PUBLICKEY_AUTHENTICATION
 
Constructor Summary
AllowNoneAuthenticationMechanismFactory(SshContext context)
           
 
Method Summary
 AuthenticationMechanism createInstance(String name, org.apache.mina.core.session.IoSession session, SshTransport transport, AuthenticationProtocol authentication, Connection con)
           
 
Methods inherited from class com.maverick.sshd.auth.DefaultAuthenticationMechanismFactory
addPasswordAuthenticationProvider, addProvider, addPublicKeyAuthenticationProvider, getKeyboardInteractiveProvider, getPasswordAuthenticationProviders, getPublicKeyAuthenticationProviders, getSupportedMechanisms, remotePasswordAuthenticationProvider, remotePublicKeyAuthenticationProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowNoneAuthenticationMechanismFactory

public AllowNoneAuthenticationMechanismFactory(SshContext context)
Method Detail

createInstance

public AuthenticationMechanism createInstance(String name,
                                              org.apache.mina.core.session.IoSession session,
                                              SshTransport transport,
                                              AuthenticationProtocol authentication,
                                              Connection con)
                                       throws UnsupportedChannelException
Specified by:
createInstance in interface AuthenticationMechanismFactory
Overrides:
createInstance in class DefaultAuthenticationMechanismFactory
Throws:
UnsupportedChannelException


Copyright © 2012. All Rights Reserved.