| java.lang.Object | ||
| ↳ | net.schmizz.sshj.AbstractService | |
| ↳ | net.schmizz.sshj.userauth.UserAuthImpl | |
UserAuth implementation.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| allowedMethods | |||||||||||
| authenticated | |||||||||||
| banner | |||||||||||
| currentMethod | |||||||||||
| partialSuccess | |||||||||||
| savedEx | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
net.schmizz.sshj.AbstractService
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Attempt to authenticate
username using each of methods in order. | |||||||||||
Returns the authentication banner (if any).
| |||||||||||
Delegate handling of some SSH packet to this object.
| |||||||||||
Notifies this object of an
error. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
net.schmizz.sshj.AbstractService
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
net.schmizz.sshj.Service
| |||||||||||
From interface
net.schmizz.sshj.common.ErrorNotifiable
| |||||||||||
From interface
net.schmizz.sshj.common.SSHPacketHandler
| |||||||||||
From interface
net.schmizz.sshj.userauth.UserAuth
| |||||||||||
Attempt to authenticate username using each of methods in order. nextService is the
Service that will be enabled on successful authentication.
UserAuthException is thrown with its cause as the last authentication failure. Other UserAuthException's
which may have been ignored may be accessed via getSavedExceptions().
Further attempts may also be made by catching UserAuthException and retrying with this method.| username | The user to authenticate |
|---|---|
| nextService | The service to set on successful authentication |
| methods | The AuthMethod's to try |
Returns the authentication banner (if any). In some cases this is available even before the first authentication request has been made.
Delegate handling of some SSH packet to this object.
| msg | The SSH message identifier |
|---|---|
| buf | SSHPacket containing rest of the request |
| SSHException |
|---|