public class UserPasswordAuthenticator extends ServerAuthenticatorNone
| Constructor and Description |
|---|
UserPasswordAuthenticator(UserValidation validator)
Construct a new UserPasswordAuthentication object, with given
UserVlaidation scheme.
|
| Modifier and Type | Method and Description |
|---|---|
ServerAuthenticator |
startSession(Socket s)
Grants access to everyone.Removes authentication related bytes from
the stream, when a SOCKS5 connection is being made, selects an
authentication NONE.
|
checkRequest, checkRequest, endSession, getInputStream, getOutputStream, getUdpEncapsulation, selectSocks5Authenticationpublic UserPasswordAuthenticator(UserValidation validator)
v - UserValidation to use for validating users.public ServerAuthenticator startSession(Socket s) throws IOException
ServerAuthenticatorNonestartSession in interface ServerAuthenticatorstartSession in class ServerAuthenticatorNones - Accepted Socket.IOExceptionCopyright © 2025. All rights reserved.