org.gudy.azureus2.core3.tracker.server
Interface TRTrackerServerAuthenticationListener

All Known Implementing Classes:
TrackerWebContextImpl, TRHostImpl

public interface TRTrackerServerAuthenticationListener


Method Summary
 boolean authenticate(String headers, URL resource, String user, String password)
          checks the password against user and returns true if OK
 byte[] authenticate(URL resource, String user)
          returns SHA1 hash of pw for user if available
 

Method Detail

authenticate

boolean authenticate(String headers,
                     URL resource,
                     String user,
                     String password)
checks the password against user and returns true if OK

Parameters:
resource -
user -
password -
Returns:

authenticate

byte[] authenticate(URL resource,
                    String user)
returns SHA1 hash of pw for user if available

Parameters:
resource -
user -
Returns: