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:
UserAuthInstance<ServerSession>, UsernameHolder, NamedResource, UserAuth, ServerSessionHolder
Issue a "keyboard-interactive" command according to
RFC4256
-
Field Summary
FieldsFields inherited from class AbstractLoggingBean
logFields inherited from interface NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Booleanprotected BooleandoInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer) protected BooleandoValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer) Methods inherited from class AbstractUserAuth
auth, destroy, getName, getServerSession, getService, getSession, getUsername, next, toString
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
UserAuthKeyboardInteractive
public UserAuthKeyboardInteractive()
-
-
Method Details
-
doAuth
-
doInitialAuth
protected Boolean doInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer) throws Exception - Throws:
Exception
-
doValidateAuthResponse
protected Boolean doValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer) throws Exception - Throws:
Exception
-