dev@glassfish.java.net

Re: request asarch review for deploy command enhancement in GlassFish

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Wed, 29 May 2013 08:25:40 +0530

On Wednesday 29 May 2013 04:14 AM, Bill Shannon wrote:
> Adding hooks for a virus checker (again, a separate project) seems
> like a good thing, but I'm not sure how using a staging directory
> would help that.
A very simple way to implement virus checking functionality is to add a
protocol handler called "vc" and decoarating the input URL with vc.
e.g., if administrators deploy:

asadmin deploy vc:http://....,
then virus checker can intercept the input stream and scan it before
returning.

Thanks,
Sahoo