FileDocCategorySizeDatePackage
TrackerAuthenticationListener.javaAPI DocAzureus 3.0.3.41774Thu Feb 09 19:42:44 GMT 2006org.gudy.azureus2.plugins.tracker.web

TrackerAuthenticationListener

public interface TrackerAuthenticationListener
author
parg

Fields Summary
Constructors Summary
Methods Summary
public booleanauthenticate(java.net.URL resource, java.lang.String user, java.lang.String password)
authentica a given user/password pair for access to the given resource

param
resource
param
user
param
password
return
true - access OK, false access denied

public byte[]authenticate(java.net.URL resource, java.lang.String user)
For the UDP tracker protocol it is necessary to return the SHA1 hash of the password for the user, allowing the core to perform the necessary checks

param
resource
param
user
return
SHA1 password hash or null if either user unknown of user can't access the resource