Class UserAuthKeyboardInteractive
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.server.auth.AbstractUserAuth
org.apache.sshd.server.auth.keyboard.UserAuthKeyboardInteractive
- All Implemented Interfaces:
org.apache.sshd.common.auth.UserAuthInstance<ServerSession>, org.apache.sshd.common.auth.UsernameHolder, org.apache.sshd.common.NamedResource, UserAuth, ServerSessionHolder
Issue a "keyboard-interactive" command according to
RFC4256
- Author:
- Apache MINA SSHD Project
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleandoAuth(org.apache.sshd.common.util.buffer.Buffer buffer, boolean init) protected BooleandoInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, org.apache.sshd.common.util.buffer.Buffer buffer) protected BooleandoValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, org.apache.sshd.common.util.buffer.Buffer buffer) Methods inherited from class AbstractUserAuth
auth, destroy, getName, getServerSession, getService, getSession, getUsername, next, toStringMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
UserAuthKeyboardInteractive
public UserAuthKeyboardInteractive()
-
-
Method Details
-
doAuth
protected Boolean doAuth(org.apache.sshd.common.util.buffer.Buffer buffer, boolean init) throws Exception - Specified by:
doAuthin classAbstractUserAuth- Throws:
Exception
-
doInitialAuth
protected Boolean doInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception - Throws:
Exception
-
doValidateAuthResponse
protected Boolean doValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception - Throws:
Exception
-