Uses of Class
net.schmizz.sshj.userauth.UserAuthException
-
Packages that use UserAuthException Package Description net.schmizz.sshj net.schmizz.sshj.userauth net.schmizz.sshj.userauth.method -
-
Uses of UserAuthException in net.schmizz.sshj
Methods in net.schmizz.sshj that throw UserAuthException Modifier and Type Method Description void
SSHClient. auth(java.lang.String username, java.lang.Iterable<AuthMethod> methods)
Authenticateusername
using the suppliedmethods
.void
SSHClient. auth(java.lang.String username, AuthMethod... methods)
Authenticateusername
using the suppliedmethods
.void
SSHClient. authGssApiWithMic(java.lang.String username, javax.security.auth.login.LoginContext context, org.ietf.jgss.Oid supportedOid, org.ietf.jgss.Oid... supportedOids)
Authenticateusername
using the"gssapi-with-mic"
authentication method, given a login context for the peer GSS machine and a list of supported OIDs.void
SSHClient. authPassword(java.lang.String username, char[] password)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication..void
SSHClient. authPassword(java.lang.String username, java.lang.String password)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient. authPassword(java.lang.String username, PasswordFinder pfinder)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient. authPassword(java.lang.String username, PasswordFinder pfinder, PasswordUpdateProvider newPasswordProvider)
Authenticateusername
using the"password"
authentication method and as a fallback basic challenge-response authentication.void
SSHClient. authPublickey(java.lang.String username)
Authenticateusername
using the"publickey"
authentication method, with keys from some common locations on the file system.void
SSHClient. authPublickey(java.lang.String username, java.lang.Iterable<KeyProvider> keyProviders)
Authenticateusername
using the"publickey"
authentication method.void
SSHClient. authPublickey(java.lang.String username, java.lang.String... locations)
Authenticateusername
using the"publickey"
authentication method, with keys from one or morelocations
in the file system.void
SSHClient. authPublickey(java.lang.String username, KeyProvider... keyProviders)
Authenticateusername
using the"publickey"
authentication method. -
Uses of UserAuthException in net.schmizz.sshj.userauth
Fields in net.schmizz.sshj.userauth with type parameters of type UserAuthException Modifier and Type Field Description private Promise<java.lang.Boolean,UserAuthException>
UserAuthImpl. authenticated
static ExceptionChainer<UserAuthException>
UserAuthException. chainer
Methods in net.schmizz.sshj.userauth that throw UserAuthException Modifier and Type Method Description boolean
UserAuth. authenticate(java.lang.String username, Service nextService, AuthMethod methods, int timeoutMs)
Attempt to authenticateusername
using each ofmethods
in order.boolean
UserAuthImpl. authenticate(java.lang.String username, Service nextService, AuthMethod method, int timeoutMs)
-
Uses of UserAuthException in net.schmizz.sshj.userauth.method
Methods in net.schmizz.sshj.userauth.method that throw UserAuthException Modifier and Type Method Description protected SSHPacket
AbstractAuthMethod. buildReq()
Builds aSSHPacket
containing the fields common to all authentication method.SSHPacket
AuthGssApiWithMic. buildReq()
protected SSHPacket
AuthHostbased. buildReq()
SSHPacket
AuthKeyboardInteractive. buildReq()
SSHPacket
AuthPassword. buildReq()
protected SSHPacket
AuthPublickey. buildReq()
Builds a feeler request (sans signature).private SSHPacket
AuthPublickey. buildReq(boolean signed)
Builds SSH_MSG_USERAUTH_REQUEST packet.private byte[]
AuthGssApiWithMic. generateMIC()
void
AbstractAuthMethod. handle(Message msg, SSHPacket buf)
void
AuthGssApiWithMic. handle(Message cmd, SSHPacket buf)
void
AuthKeyboardInteractive. handle(Message cmd, SSHPacket buf)
void
AuthPassword. handle(Message cmd, SSHPacket buf)
void
AuthPublickey. handle(Message cmd, SSHPacket buf)
Internal use.private void
AuthGssApiWithMic. handleContextInitialization(SSHPacket buf)
private byte[]
AuthGssApiWithMic. handleTokenFromServer(SSHPacket buf)
protected SSHPacket
KeyedAuthMethod. putPubKey(SSHPacket reqBuf)
protected SSHPacket
KeyedAuthMethod. putSig(SSHPacket reqBuf)
void
AbstractAuthMethod. request()
void
AuthMethod. request()
private void
AuthPublickey. sendSignedReq()
Send SSH_MSG_USERAUTH_REQUEST containing the signature.
-