public interface UserValidation
Modifier and Type | Method and Description |
---|---|
boolean |
isUserValid(String username,
String password,
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.
|
boolean isUserValid(String username, String password, Socket connection)
username
- User whom implementation should validate.password
- Password this user provided.connection
- Socket which user used to connect to the server.Copyright © 2024. All rights reserved.