|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--socks.server.ServerAuthenticatorNone | +--socks.server.UserPasswordAuthenticator
This class implements SOCKS5 User/Password authentication scheme as defined in rfc1929,the server side of it.
Constructor Summary | |
UserPasswordAuthenticator(UserValidation validator)
Construct a new UserPasswordAuthentication object, with given UserVlaidation scheme. |
Method Summary | |
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. |
Methods inherited from class socks.server.ServerAuthenticatorNone |
checkRequest,
checkRequest,
endSession,
getInputStream,
getOutputStream,
getUdpEncapsulation,
selectSocks5Authentication |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UserPasswordAuthenticator(UserValidation validator)
v
- UserValidation to use for validating users.Method Detail |
public ServerAuthenticator startSession(java.net.Socket s) throws java.io.IOException
s
- Accepted Socket.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |