socks.server
Interface UserValidation
- public interface UserValidation 
Interface which provides for user validation, based on user name
  password and where it connects from.
| Method Summary | 
|  boolean | isUserValid(java.lang.String username,
            java.lang.String password,
            java.net.Socket connection)Implementations of this interface are expected to use some or all
     of the information provided plus any information they can extract
     from other sources to decide wether given user should be allowed
     access to SOCKS server, or whatever you use it for.
 | 
 
isUserValid
boolean isUserValid(java.lang.String username,
                    java.lang.String password,
                    java.net.Socket connection)
- Implementations of this interface are expected to use some or all
     of the information provided plus any information they can extract
     from other sources to decide wether given user should be allowed
     access to SOCKS server, or whatever you use it for.
 
- 
- Parameters:
- username- User whom implementation should validate.
- password- Password this user provided.
- connection- Socket which user used to connect to the server.
- Returns:
- true to indicate user is valid, false otherwise.