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, selectSocks5Authentication
public UserPasswordAuthenticator(UserValidation validator)
v
- UserValidation to use for validating users.public ServerAuthenticator startSession(Socket s) throws IOException
ServerAuthenticatorNone
startSession
in interface ServerAuthenticator
startSession
in class ServerAuthenticatorNone
s
- Accepted Socket.IOException
Copyright © 2024. All rights reserved.