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
public class UserAuthKeyboardInteractive extends AbstractUserAuth
Issue a "keyboard-interactive" command according to RFC4256- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description UserAuthKeyboardInteractive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BooleandoAuth(Buffer buffer, boolean init)protected BooleandoInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer)protected BooleandoValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer)-
Methods inherited from class org.apache.sshd.server.auth.AbstractUserAuth
auth, destroy, getName, getServerSession, getService, getSession, getUsername, next, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
doAuth
protected Boolean doAuth(Buffer buffer, boolean init) throws Exception
- Specified by:
doAuthin classAbstractUserAuth- Throws:
Exception
-
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
-
-