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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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 java.lang.BooleandoAuth(Buffer buffer, boolean init)protected java.lang.BooleandoInitialAuth(ServerSession session, java.lang.String username, KeyboardInteractiveAuthenticator auth, Buffer buffer)protected java.lang.BooleandoValidateAuthResponse(ServerSession session, java.lang.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 java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
doAuth
protected java.lang.Boolean doAuth(Buffer buffer, boolean init) throws java.lang.Exception
- Specified by:
doAuthin classAbstractUserAuth- Throws:
java.lang.Exception
-
doInitialAuth
protected java.lang.Boolean doInitialAuth(ServerSession session, java.lang.String username, KeyboardInteractiveAuthenticator auth, Buffer buffer) throws java.lang.Exception
- Throws:
java.lang.Exception
-
doValidateAuthResponse
protected java.lang.Boolean doValidateAuthResponse(ServerSession session, java.lang.String username, KeyboardInteractiveAuthenticator auth, Buffer buffer) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-