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 String
NAME
-
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 Boolean
doAuth(Buffer buffer, boolean init)
protected Boolean
doInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, Buffer buffer)
protected Boolean
doValidateAuthResponse(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:
doAuth
in 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
-
-