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(java.net.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(java.net.Socket s) throws java.io.IOException
ServerAuthenticatorNonestartSession in interface ServerAuthenticatorstartSession in class ServerAuthenticatorNones - Accepted Socket.java.io.IOExceptionCopyright © 2012. All Rights Reserved.