James Moger
2013-11-18 11642275bab78a22da2f85ed06eb2246f8444f4f
src/main/java/com/gitblit/DownloadZipFilter.java
@@ -23,15 +23,18 @@
 * The DownloadZipFilter is an AccessRestrictionFilter which ensures that zip
 * requests for view-restricted repositories have proper authentication
 * credentials and are authorized.
 *
 *
 * @author James Moger
 *
 *
 */
public class DownloadZipFilter extends AccessRestrictionFilter {
   public DownloadZipFilter() {
   }
   /**
    * Extract the repository name from the url.
    *
    *
    * @param url
    * @return repository name
    */
@@ -47,7 +50,7 @@
   /**
    * Analyze the url and returns the action of the request.
    *
    *
    * @param url
    * @return action of the request
    */
@@ -58,7 +61,7 @@
   /**
    * Determine if a non-existing repository can be created using this filter.
    *
    *
    * @return true if the filter allows repository creation
    */
   @Override
@@ -68,7 +71,7 @@
   /**
    * Determine if the action may be executed on the repository.
    *
    *
    * @param repository
    * @param action
    * @return true if the action may be performed
@@ -80,7 +83,7 @@
   /**
    * Determine if the repository requires authentication.
    *
    *
    * @param repository
    * @param action
    * @return true if authentication required
@@ -93,7 +96,7 @@
   /**
    * Determine if the user can access the repository and perform the specified
    * action.
    *
    *
    * @param repository
    * @param user
    * @param action