com.limegroup.gnutella.security
Interface Authenticator
- All Known Implementing Classes:
- DummyAuthenticator, ServerAuthenticator
- public interface Authenticator
An interface for authentication purposes.
Method Summary |
java.util.Set |
authenticate(java.lang.String username,
java.lang.String passwd,
java.lang.String domain)
Authenticates the username and password passed for the given domain |
authenticate
public java.util.Set authenticate(java.lang.String username,
java.lang.String passwd,
java.lang.String domain)
- Authenticates the username and password passed for the given domain
- Parameters:
username
- the "user" to be authenticated.domain
- The domain for which to authenticate user
- Returns:
- the set (of Strings) of domains to which user is successfully
authenticated. Returns null, if the authentication failed.