Package com.biglybt.core.tracker.server
Interface TRTrackerServerAuthenticationListener
- All Known Implementing Classes:
TrackerWebContextImpl
,TRHostImpl
public interface TRTrackerServerAuthenticationListener
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(String headers, URL resource, String user, String password) checks the password against user and returns true if OKbyte[]
authenticate
(URL resource, String user) returns SHA1 hash of pw for user if available
-
Method Details
-
authenticate
checks the password against user and returns true if OK- Parameters:
resource
-user
-password
-- Returns:
-
authenticate
returns SHA1 hash of pw for user if available- Parameters:
resource
-user
-- Returns:
-