Interface TRTrackerServerAuthenticationListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean authenticate​(java.lang.String headers, java.net.URL resource, java.lang.String user, java.lang.String password)
      checks the password against user and returns true if OK
      byte[] authenticate​(java.net.URL resource, java.lang.String user)
      returns SHA1 hash of pw for user if available
    • Method Detail

      • authenticate

        boolean authenticate​(java.lang.String headers,
                             java.net.URL resource,
                             java.lang.String user,
                             java.lang.String password)
        checks the password against user and returns true if OK
        Parameters:
        resource -
        user -
        password -
        Returns:
      • authenticate

        byte[] authenticate​(java.net.URL resource,
                            java.lang.String user)
        returns SHA1 hash of pw for user if available
        Parameters:
        resource -
        user -
        Returns: